diff --git a/components/DocumentDisplay.vue b/components/DocumentDisplay.vue index 65ef76f..acfe5bd 100644 --- a/components/DocumentDisplay.vue +++ b/components/DocumentDisplay.vue @@ -31,10 +31,12 @@ const openDocument = async () => { } const updateDocument = async () => { + console.log("Update") const {url, ...objData} = documentData delete objData.url + const {data,error} = await supabase .from("documents") .update(objData) @@ -46,7 +48,7 @@ const updateDocument = async () => { } else { toast.add({title: "Dokument aktualisiert"}) dataStore.fetchDocuments() - openShowModal.value = false + //openShowModal.value = false } } @@ -178,13 +180,17 @@ const updateDocumentAssignment = async () => { > @@ -210,12 +216,12 @@ const updateDocumentAssignment = async () => { > Archivieren - Eingangsrechnung erstellen - + -->
{