1
0
Эх сурвалжийг харах

fix: workflow get execute when it disabled

Ahmad Kholid 2 жил өмнө
parent
commit
630f4d4ac3

+ 2 - 1
src/background/index.js

@@ -256,7 +256,8 @@ async function checkVisitWebTriggers(tabId, tabUrl) {
     }
 
     const workflowData = await workflow.get(workflowId);
-    if (workflowData) workflow.execute(workflowData, { tabId });
+    if (workflowData && !workflow.isDisabled)
+      workflow.execute(workflowData, { tabId });
   }
 }
 async function checkRecordingWorkflow(tabId, tabUrl) {