widgets can now listen to sync data changes

This commit is contained in:
zadam
2019-08-06 22:39:27 +02:00
parent fcd87b3e2d
commit bfbc124e78
8 changed files with 60 additions and 9 deletions

View File

@@ -759,7 +759,7 @@ messagingService.subscribeToMessages(message => {
}
});
messagingService.subscribeToSyncMessages(syncData => {
messagingService.subscribeToOutsideSyncMessages(syncData => {
if (syncData.some(sync => sync.entityName === 'branches')
|| syncData.some(sync => sync.entityName === 'notes')) {