Ahmad Kholid 2 лет назад
Родитель
Сommit
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'];