mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #585 from FreSauce/fix-6205-console-sudden-routes-to-storage
Fixed missing separator for keycodes comparison
This commit is contained in:
@@ -198,7 +198,7 @@ export const commandCenterKeyDownHandler = derived(
|
||||
|
||||
const commandKeyCodes = keys?.map((key) => key.toUpperCase().charCodeAt(0));
|
||||
const allKeysPressed = commandKeyCodes
|
||||
? recentKeyCodes.join('').includes(commandKeyCodes.join(''))
|
||||
? recentKeyCodes.join(',').includes(commandKeyCodes.join(','))
|
||||
: false;
|
||||
|
||||
if (allKeysPressed && isMetaPressed && isShiftPressed && isAltPressed) {
|
||||
|
||||
Reference in New Issue
Block a user