hotkey fixes

This commit is contained in:
Eugene Pankov
2018-12-07 15:12:37 +01:00
parent 2606b910f1
commit 76e8652492

View File

@@ -120,10 +120,12 @@ export class HotkeysService {
if (typeof value === 'string') {
value = [value]
}
if (value) {
value = value.map((item) => (typeof item === 'string') ? [item] : item)
keys[key] = value
}
}
}
return keys
}