mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
fix redirect after login
This commit is contained in:
@@ -337,10 +337,10 @@ function fireDetailLoaded() {
|
||||
}
|
||||
|
||||
messagingService.subscribeToSyncMessages(syncData => {
|
||||
if (syncData.some(sync => sync.entityName === 'notes')) {
|
||||
infoService.showMessage('Reloading note because of background changes');
|
||||
|
||||
refreshTabs(null, sync.entityId);
|
||||
for (const sync of syncData) {
|
||||
if (sync.entityName === 'notes') {
|
||||
refreshTabs(null, sync.entityId);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user