diff --git a/db/demo.zip b/db/demo.zip index 20bcbf9ba..8e3f73b1a 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 197f149b3..d9452ee67 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} + * @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