π 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
Add comment to explain cache deletion
Smaug6739b586161e3982
diff --git a/frontend/app/stores/resources.store.ts b/frontend/app/stores/resources.store.tsindex 292d85b7..7ddd04d5 100644--- a/frontend/app/stores/resources.store.ts+++ b/frontend/app/stores/resources.store.ts@@ -32,7 +32,7 @@ export const useRessourcesStore = defineStore('ressources', {},async delete(id: string) {const request = await makeRequest(`ressources/${id}`, 'DELETE', {});- if (request.status == 'success') return useNodesStore().nodes.delete(id);+ if (request.status == 'success') return useNodesStore().nodes.delete(id); // Remove the node from the cacheelse throw request.message;},},