Ahmad Kholid 3 years ago
parent
commit
890e1b00b1
3 changed files with 4 additions and 3 deletions
  1. 1 1
      package.json
  2. 2 1
      src/content/services/recordWorkflow/App.vue
  3. 1 1
      src/newtab/App.vue

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "automa",
   "name": "automa",
-  "version": "1.9.6",
+  "version": "1.10.0",
   "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": {

+ 2 - 1
src/content/services/recordWorkflow/App.vue

@@ -276,6 +276,7 @@ function addFlowItem() {
     data: {
     data: {
       saveData,
       saveData,
       assignVariable,
       assignVariable,
+      waitForSelector: true,
       column: addBlockState.column,
       column: addBlockState.column,
       variableName: addBlockState.varName,
       variableName: addBlockState.varName,
       selector: selectState.list
       selector: selectState.list
@@ -329,7 +330,7 @@ function selectElementPath(type) {
     : finder(element);
     : finder(element);
 }
 }
 function clearSelectState() {
 function clearSelectState() {
-  if (selectState.list) {
+  if (selectState.list && selectState.listId) {
     addBlock({
     addBlock({
       id: 'loop-breakpoint',
       id: 'loop-breakpoint',
       description: selectState.listId,
       description: selectState.listId,

+ 1 - 1
src/newtab/App.vue

@@ -23,7 +23,7 @@
       </template>
       </template>
     </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 dark:text-gray-900 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 dark:text-gray-900 flex items-center"
     >
     >
       <v-remixicon name="riInformationLine" class="mr-3" />
       <v-remixicon name="riInformationLine" class="mr-3" />