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

fix: workflow still execute when it's disabled

Ahmad Kholid 3 жил өмнө
parent
commit
b4ce72536e

+ 2 - 0
src/background/index.js

@@ -50,6 +50,8 @@ const workflow = {
     return findWorkflow;
   },
   execute(workflowData, options) {
+    if (workflowData.isDisabled) return null;
+
     if (workflowData.isProtected) {
       const flow = parseJSON(workflowData.drawflow, null);