Browse Source

fix: activeTabUrl keyword reference return no value

Ahmad Kholid 3 years ago
parent
commit
e0ae4c3296
3 changed files with 3 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 0
      src/background/workflow-engine/engine.js
  3. 1 1
      src/newtab/App.vue

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "automa",
-  "version": "0.14.1",
+  "version": "0.14.2",
   "description": "An extension for automating your browser by connecting blocks",
   "license": "MIT",
   "repository": {

+ 1 - 0
src/background/workflow-engine/engine.js

@@ -222,6 +222,7 @@ class WorkflowEngine {
 
     this.currentBlock = block;
     this.referenceData.prevBlockData = prevBlockData;
+    this.referenceData.activeTabUrl = this.activeTab.url || '';
 
     await this.states.update(this.id, { state: this.state });
     this.dispatchEvent('update', { state: this.state });

+ 1 - 1
src/newtab/App.vue

@@ -6,7 +6,7 @@
     </main>
     <ui-dialog />
     <div
-      v-if="isUpdated"
+      v-if="false"
       class="p-4 shadow-2xl z-50 fixed bottom-8 left-1/2 -translate-x-1/2 rounded-lg bg-accent text-white flex items-center"
     >
       <v-remixicon name="riInformationLine" class="mr-3" />