diff --git a/terminus-core/src/services/hotkeys.service.ts b/terminus-core/src/services/hotkeys.service.ts index 4773f894..2e10a9d3 100644 --- a/terminus-core/src/services/hotkeys.service.ts +++ b/terminus-core/src/services/hotkeys.service.ts @@ -86,7 +86,7 @@ export class HotkeysService { registerGlobalHotkey () { this.electron.globalShortcut.unregisterAll() - let value = this.config.store.hotkeys['toggle-window'] + let value = this.config.store.hotkeys['toggle-window'] || [] if (typeof value === 'string') { value = [value] }