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 importation of modal

Smaug6739cf8ac7a9bf43
diff --git a/frontend/app/components/DocumentLine.vue b/frontend/app/components/DocumentLine.vue
index 508d067d..be57fd8b 100644
--- a/frontend/app/components/DocumentLine.vue
+++ b/frontend/app/components/DocumentLine.vue
@@ -26,6 +26,7 @@
<script setup lang="ts">
import type { Document } from '@/stores';
+import DeleteDocumentModal from '~/pages/dashboard/docs/_modals/DeleteDocumentModal.vue';
const props = defineProps<{ document: Document }>();
const categoriesStore = useCategoriesStore();
const category = computed(() => categoriesStore.getById(props.document.category || ''));