fix redirect after login

This commit is contained in:
zadam
2019-05-22 21:25:13 +02:00
parent 79956b5676
commit dedc1e708f
3 changed files with 6 additions and 5 deletions

View File

@@ -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);
}
}
});