π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
fix: state corrections when request fail
Smaug6739657e90352f6f
diff --git a/frontend/app/pages/(public)/doc/[id]/edit.vue b/frontend/app/pages/(public)/doc/[id]/edit.vueindex 498f5eed..d63a89ac 100644--- a/frontend/app/pages/(public)/doc/[id]/edit.vue+++ b/frontend/app/pages/(public)/doc/[id]/edit.vue@@ -19,7 +19,8 @@ watchEffect(async () => {const storedNode = store.getById(nodeId);if (!storedNode) {try {- document.value = await store.fetchPublic(nodeId);+ const result = await store.fetchPublic(nodeId);+ document.value = result?.node;} catch {error.value = 'Document not found';}