π 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: diagram load wrong object
Smaug6739a4a44e6cffe7
diff --git a/frontend/app/pages/dashboard/cdn/diagram.vue b/frontend/app/pages/dashboard/cdn/diagram.vueindex 7945198b..cadd3a10 100644--- a/frontend/app/pages/dashboard/cdn/diagram.vue+++ b/frontend/app/pages/dashboard/cdn/diagram.vue@@ -60,12 +60,12 @@ function handleKeydown(event: KeyboardEvent) {// Lifecycle hooksonMounted(() => {- document.addEventListener('message', exitHandleMessage);+ window.addEventListener('message', exitHandleMessage);document.addEventListener('keydown', handleKeydown);});onBeforeUnmount(() => {- document.removeEventListener('message', exitHandleMessage);+ window.removeEventListener('message', exitHandleMessage);document.removeEventListener('keydown', handleKeydown);});</script>