quick keybinding page fix (#1714)

Update keybindings.tsx
This commit is contained in:
ameer2468 2023-10-31 16:54:40 +03:00 committed by GitHub
parent c7b74ccffa
commit 8479b6447e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ const shortcutCategories: Record<string, Shortcut[]> = {
action: 'Navigate to Settings page',
keys: {
macOS: {
value: ['Shift', modifierSymbols.Meta.macOS, 'T']
value: [modifierSymbols.Shift.macOS, modifierSymbols.Meta.macOS, 'T']
},
all: {
value: ['Shift', modifierSymbols.Control.Other, 'T']
@ -44,7 +44,7 @@ const shortcutCategories: Record<string, Shortcut[]> = {
action: 'Navigate to Overview page',
keys: {
macOS: {
value: ['Shift', modifierSymbols.Meta.macOS, 'O']
value: [modifierSymbols.Shift.macOS, modifierSymbols.Meta.macOS, 'O']
},
all: {
value: ['Shift', modifierSymbols.Control.Other, 'O']
@ -334,7 +334,7 @@ function createKeybindColumns(os: OperatingSystem) {
});
return shortcuts.map((shortcut, idx) => {
if (shortcut) {
if (shortcut.length > 2) {
if (shortcut.length >= 2) {
return (
<div key={idx.toString()} className="inline-flex items-center">
<kbd