similar notes is getting updated automatically after the title change

This commit is contained in:
zadam
2019-09-03 21:31:39 +02:00
parent 9404e27cba
commit 2e05cb1764
10 changed files with 53 additions and 30 deletions

View File

@@ -106,10 +106,10 @@ class Sidebar {
}
}
syncDataReceived(syncData) {
eventReceived(name, data) {
for (const widget of this.widgets) {
if (widget.syncDataReceived) {
widget.syncDataReceived(syncData);
if (widget.eventReceived) {
widget.eventReceived(name, data);
}
}
}