Skip to content

Commit

Permalink
fix: "When visit web" trigger not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Kholid060 committed May 18, 2022
1 parent 03a0517 commit ed698c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/index.js
Expand Up @@ -155,7 +155,7 @@ async function checkVisitWebTriggers(tabId, tabUrl) {

const matchUrl = tabUrl.match(isRegex ? new RegExp(url, 'g') : url);

return matchUrl && id !== workflowState.workflowId;
return matchUrl && id !== workflowState?.workflowId;
});

if (triggeredWorkflow) {
Expand Down

0 comments on commit ed698c6

Please sign in to comment.