Ahmad Kholid 3 年之前
父節點
當前提交
aece9efc3d
共有 4 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      package.json
  2. 1 1
      src/newtab/App.vue
  3. 2 2
      src/utils/helper.js
  4. 1 1
      src/utils/shared.js

+ 1 - 1
package.json

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

+ 1 - 1
src/newtab/App.vue

@@ -6,7 +6,7 @@
     </main>
     </main>
     <ui-dialog />
     <ui-dialog />
     <div
     <div
-      v-if="false"
+      v-if="isUpdated"
       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"
       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" />
       <v-remixicon name="riInformationLine" class="mr-3" />

+ 2 - 2
src/utils/helper.js

@@ -44,9 +44,9 @@ export function convert2DArrayToArrayObj(values) {
       }
       }
 
 
       currentColumn[key] = values[columnIndex][rowIndex];
       currentColumn[key] = values[columnIndex][rowIndex];
-
-      result.push(currentColumn);
     }
     }
+
+    result.push(currentColumn);
   }
   }
 
 
   return result;
   return result;

+ 1 - 1
src/utils/shared.js

@@ -620,7 +620,7 @@ export const tasks = {
     outputs: 1,
     outputs: 1,
     allowedInputs: true,
     allowedInputs: true,
     maxConnection: 1,
     maxConnection: 1,
-    refDataKeys: ['selector'],
+    refDataKeys: ['selector', 'filePaths'],
     data: {
     data: {
       findBy: 'cssSelector',
       findBy: 'cssSelector',
       selector: '',
       selector: '',