mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
widgets can now listen to sync data changes
This commit is contained in:
@@ -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')) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user