Browse Source

fix: clipboard block

Ahmad Kholid 2 years ago
parent
commit
4dfcedc5d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/workflowEngine/blocksHandler/handlerClipboard.js

+ 1 - 1
src/workflowEngine/blocksHandler/handlerClipboard.js

@@ -23,7 +23,7 @@ function doCommand(command, value) {
 
 export default async function ({ data, id, label }) {
   const isFirefox = BROWSER_TYPE === 'firefox';
-  if (!isFirefox && !this.engine?.isPopup && !this.engins?.isMV2)
+  if (!isFirefox && !this.engine?.isPopup && !this.engine?.isMV2)
     throw new Error('Clipboard block is not supported in background execution');
 
   const permissions = ['clipboardRead'];