mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
fixes in setting/opening tabs
This commit is contained in:
@@ -90,7 +90,7 @@ function waitForSyncId(desiredSyncId) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
console.log("Waiting for", desiredSyncId, 'current is', lastProcessedSyncId);
|
||||
console.debug("Waiting for", desiredSyncId, 'current is', lastProcessedSyncId);
|
||||
|
||||
return new Promise((res, rej) => {
|
||||
syncIdReachedListeners.push({
|
||||
@@ -335,7 +335,7 @@ async function processSyncRows(syncRows) {
|
||||
|
||||
if (!loadResults.isEmpty()) {
|
||||
const appContext = (await import("./app_context.js")).default;
|
||||
appContext.triggerEvent('entitiesReloaded', {loadResults});
|
||||
await appContext.triggerEvent('entitiesReloaded', {loadResults});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user