Fixing reactivity issues in hotkeys manager
This commit is contained in:
1 parent
78c282558c
commit
1fbf2fdf11
1 file changed
+3
-1
@@ -17,7 +17,9 @@ export class HotkeysManager {
|
||||
|
||||
Tracker.autorun(() => {
|
||||
const contextName = OHIF.context.get();
|
||||
this.switchToContext(contextName);
|
||||
|
||||
// Avoind falling in MongoDB collections reactivity
|
||||
Tracker.nonreactive(() => this.switchToContext(contextName));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user