fix(core): update

This commit is contained in:
2022-01-19 07:01:58 +01:00
parent 6fdf0d9955
commit 489ad9284b
10 changed files with 68 additions and 53 deletions

View File

@@ -95,6 +95,9 @@ export class SocketConnection {
this.tagStore[tagArg.id] = tagArg;
this.tagStoreObservable.next(this.tagStore);
const remoteSubscription = this.remoteTagStoreObservable.subscribe((remoteTagStore) => {
if (!remoteTagStore[tagArg.id]) {
return;
}
const localTagString = plugins.smartjson.stringify(tagArg);
const remoteTagString = plugins.smartjson.stringify(remoteTagStore[tagArg.id]);
if (localTagString === remoteTagString) {