Ahmad Kholid 3 ani în urmă
părinte
comite
aece9efc3d
4 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  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",
-  "version": "0.16.0",
+  "version": "0.16.1",
   "description": "An extension for automating your browser by connecting blocks",
   "license": "MIT",
   "repository": {

+ 1 - 1
src/newtab/App.vue

@@ -6,7 +6,7 @@
     </main>
     <ui-dialog />
     <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"
     >
       <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];
-
-      result.push(currentColumn);
     }
+
+    result.push(currentColumn);
   }
 
   return result;

+ 1 - 1
src/utils/shared.js

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