Ahmad Kholid преди 2 години
родител
ревизия
4dfcedc5d6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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'];