diff --git a/src/components/misc/keyboard-shortcuts/index.vue b/src/components/misc/keyboard-shortcuts/index.vue index 7b52ca8c0..eb293029f 100644 --- a/src/components/misc/keyboard-shortcuts/index.vue +++ b/src/components/misc/keyboard-shortcuts/index.vue @@ -19,7 +19,7 @@ class="shortcut-keys" is="dd" :keys="sc.keys" - :combination="typeof sc.combination !== 'undefined' ? $t(`keyboardShortcuts.${sc.combination}`) : null" + :combination="sc.combination && $t(`keyboardShortcuts.${sc.combination}`)" /> @@ -29,7 +29,7 @@