We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283481e commit c51638cCopy full SHA for c51638c
lib/ui.js
@@ -45,9 +45,10 @@ export default {
45
this.notifications.show("Client Connected");
46
})
47
);
48
- this.subs.add(this.client.onDetached(() => {
49
- // TODO do we need this optional chaining check?
50
- this.ink && this.ink.Result && this.ink.Result.invalidateAll()
+ subs.add(client.onDetached(() => {
+ if (ink) {
+ ink.Result.invalidateAll()
51
+ }
52
53
54
},
0 commit comments