Parcourir la source

fix: running workflows not showing up

Ahmad Kholid il y a 2 ans
Parent
commit
ef987d2435
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      src/newtab/App.vue

+ 5 - 0
src/newtab/App.vue

@@ -337,6 +337,11 @@ watch(
       },
     };
 
+    const { workflowStates } = await browser.storage.local.get(
+      'workflowStates'
+    );
+    workflowStore.states = Object.values(workflowStates || {});
+
     const tabs = await browser.tabs.query({
       url: browser.runtime.getURL('/newtab.html'),
     });