fix(keyboardShortcuts) Fix the issue with Reset to Defaults for Keyboard Shortcuts. Fix typo for resetDefaults
This commit is contained in:
1 parent
e1cd01828a
commit
0c7edbe22e
2 files changed
+6
-3
No files matched your search
@@ -29,7 +29,10 @@ Template.hotkeysForm.onCreated(() => {
|
||||
};
|
||||
|
||||
return OHIF.ui.showDialog('dialogConfirm', dialogOptions).then(() => {
|
||||
return OHIF.hotkeys.resetDefauls(contextName);
|
||||
const resetDefaults = OHIF.hotkeys.resetDefaults(contextName);
|
||||
resetDefaults.then(() => {
|
||||
OHIF.hotkeys.load(contextName).then(defs => instance.hotkeysDefinitions.set(defs));
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user