frontend sync through websocket

This commit is contained in:
zadam
2020-01-31 20:52:31 +01:00
parent 8bf794f13b
commit 05b51c0f68
5 changed files with 92 additions and 57 deletions

View File

@@ -89,11 +89,7 @@ class AttributesWidget extends StandardWidget {
}
entitiesReloadedListener({loadResults}) {
console.log("CHECK ATTRS", loadResults.getAttributes());
if (loadResults.getAttributes().find(attr => attr.noteId === this.noteId)) {
console.log("JAAAJ");
this.refresh();
}
}