Browse Source

feat: delete workflow button

Ahmad Kholid 2 years ago
parent
commit
3fbd8d55e2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/content/commandPalette/App.vue

+ 2 - 0
src/content/commandPalette/App.vue

@@ -383,6 +383,8 @@ watch(
 
 onMounted(() => {
   browser.storage.local.get('automaShortcut').then(({ automaShortcut }) => {
+    if (Array.isArray(automaShortcut) && automaShortcut.length < 1) return;
+
     let keys = ['mod', 'shift', 'a'];
     if (automaShortcut) keys = automaShortcut.split('+');