Skip to content

Build your personal knowledge base with Trilium Notes

updates to the demo document

zadamc4bc53da59f7
diff --git a/db/demo.zip b/db/demo.zip
index 20bcbf9bac..8e3f73b1a0 100644
Binary files a/db/demo.zip and b/db/demo.zip differ
diff --git a/src/services/backend_script_api.js b/src/services/backend_script_api.js
index 197f149b35..d9452ee679 100644
--- a/src/services/backend_script_api.js
+++ b/src/services/backend_script_api.js
@@ -387,12 +387,10 @@ function BackendScriptApi(currentNote, apiParams) {
this.sql = sql;
/**
- * Trigger tree refresh in all connected clients. This is required when some tree change happens in
- * the backend.
- *
- * @returns {Promise<void>}
+ * @method
+ * @deprecated - this is now no-op since all the changes should be gracefully handled per widget
*/
- this.refreshTree = ws.refreshTree;
+ this.refreshTree = () => {};
/**
* @return {{syncVersion, appVersion, buildRevision, dbVersion, dataDirectory, buildDate}|*} - object representing basic info about running Trilium version