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.

fix

Smaug6739b1388ea954b0
diff --git a/frontend/pages/dashboard/search.vue b/frontend/pages/dashboard/search.vue
index d1db560e..cb28e1d6 100644
--- a/frontend/pages/dashboard/search.vue
+++ b/frontend/pages/dashboard/search.vue
@@ -4,7 +4,6 @@
</template>
<script setup lang="ts">
-
import { useDocumentsStore, useCategoriesStore } from '~/store';
const documents = computed(() => useDocumentsStore().getAll)
@@ -17,7 +16,7 @@ const headers = [
{ title: 'Actions' },
];
const rows = computed(() => documents.value.map((doc) => {
- const val = {
+ return {
fields: [
{ content: doc.name, action: `/dashboard/doc/${doc.id}` },
{ content: categoriesStore.getById(doc.category || '')?.name || '', action: `/dashboard/category/${doc.category}` },
@@ -26,7 +25,6 @@ const rows = computed(() => documents.value.map((doc) => {
{ content: 'View document', action: `/dashboard/doc/${doc.id}` },
],
};
- return val
}));
</script>
\ No newline at end of file
diff --git a/frontend/styles/theme.scss b/frontend/styles/theme.scss
index cb1d9299..1363ecfc 100644
--- a/frontend/styles/theme.scss
+++ b/frontend/styles/theme.scss
@@ -115,6 +115,7 @@ input,
select,
textarea {
width: 100%;
+ padding: 12px 14px;
margin: 0;
border: 1px solid var(--border-color);
color: var(--font-color);