Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Refacttor & remove auto imported code

Smaug67398cad7550352f
diff --git a/frontend/stores/documents.store.ts b/frontend/stores/documents.store.ts
index 0fe23c45..a7abcc76 100644
--- a/frontend/stores/documents.store.ts
+++ b/frontend/stores/documents.store.ts
@@ -1,4 +1,3 @@
-import { defineStore } from 'pinia';
import { makeRequest, type FetchOptions } from './_utils';
import type { DB_Document, Document } from './db_strustures';
diff --git a/frontend/stores/notifications.store.ts b/frontend/stores/notifications.store.ts
index 8c1946d4..fb0f9b55 100644
--- a/frontend/stores/notifications.store.ts
+++ b/frontend/stores/notifications.store.ts
@@ -1,5 +1,3 @@
-import { defineStore } from 'pinia';
-
export interface Notification {
id: number;
title: string;
diff --git a/frontend/stores/ressources.store.ts b/frontend/stores/ressources.store.ts
index 93e97eba..ce73de85 100644
--- a/frontend/stores/ressources.store.ts
+++ b/frontend/stores/ressources.store.ts
@@ -1,4 +1,3 @@
-import { defineStore } from 'pinia';
import { makeRequest } from './_utils';
import type { DB_Ressource } from './db_strustures';
diff --git a/frontend/stores/user.store.ts b/frontend/stores/user.store.ts
index ee7c849e..df554aa5 100644
--- a/frontend/stores/user.store.ts
+++ b/frontend/stores/user.store.ts
@@ -1,4 +1,3 @@
-import { defineStore } from 'pinia';
import { makeRequest } from './_utils';
import type { User, ConnectionLog } from './db_strustures';
diff --git a/frontend/styles/theme.scss b/frontend/styles/theme.scss
index 4deb61f6..967e9f2a 100644
--- a/frontend/styles/theme.scss
+++ b/frontend/styles/theme.scss
@@ -122,6 +122,10 @@ textarea {
}
}
+select {
+ padding: 5px 10px;
+}
+
input {
display: block;
width: 100%;