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