From cd559e14ea64742b3622bab0e1dcf91c536b03ff Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 4 Feb 2021 17:08:04 +0100 Subject: [PATCH] reload view when webInstances change in the link --- src/Link.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Link.js b/src/Link.js index d3ff7f1..f468bfb 100644 --- a/src/Link.js +++ b/src/Link.js @@ -171,7 +171,9 @@ export class Link { return link && link.identifier === this.identifier && this.servers.length === link.servers.length && - this.servers.every((s, i) => link.servers[i] === s); + this.servers.every((s, i) => link.servers[i] === s) && + Object.keys(this.webInstances).length === Object.keys(link.webInstances).length && + Object.keys(this.webInstances).every(k => this.webInstances[k] === link.webInstances[k]); } toFragment() {