@setoelkahfi / svara / commits / 3074208

fix: shorcut disabled parameter reads as string instead of bool

mellbacon committed Sep 15, 2023 at 16:43 UTC 3074208ae0f560492ec67d228cc7598413e37b7c
1 file changed +1 -1
src/config/config.ts
+1 -1
@@ -49,7 +49,7 @@ export async function getShortcuts() {
49 const shortcuts = getKeybinds();
50 for (const shortcut of shortcuts) {
51 // skip binding shorcuts that are disabled
52 - if (shortcut.disabled === true) {
52 + if (shortcut.disabled === "true") {
53 continue;
54 }
55 const keybind = parseKeybind(shortcut.keybind);