Ahmad Kholid 3 years ago
parent
commit
61eb1811dc

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "automa",
   "name": "automa",
-  "version": "0.14.2",
+  "version": "0.15.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": {

+ 6 - 8
src/components/newtab/workflow/edit/EditTrigger.vue

@@ -96,14 +96,12 @@
             </ui-checkbox>
             </ui-checkbox>
           </div>
           </div>
         </ui-popover>
         </ui-popover>
-        <form @submit="addTime">
-          <div class="flex items-center">
-            <ui-input v-model="tempDate.time" type="time" class="flex-1 mr-2" />
-            <ui-button variant="accent">
-              {{ t('workflow.blocks.trigger.addTime') }}
-            </ui-button>
-          </div>
-        </form>
+        <div class="flex items-center">
+          <ui-input v-model="tempDate.time" type="time" class="flex-1 mr-2" />
+          <ui-button variant="accent" @click="addTime">
+            {{ t('workflow.blocks.trigger.addTime') }}
+          </ui-button>
+        </div>
         <div class="my-2">
         <div class="my-2">
           <ui-expand
           <ui-expand
             v-for="(day, index) in sortedDaysArr"
             v-for="(day, index) in sortedDaysArr"

+ 1 - 1
src/locales/en/blocks.json

@@ -81,7 +81,7 @@
       },
       },
       "google-sheets": {
       "google-sheets": {
         "name": "Google sheets",
         "name": "Google sheets",
-        "description": "Read Google Sheets data",
+        "description": "Read or update Google Sheets data",
         "previewData": "Preview data",
         "previewData": "Preview data",
         "firstRow": "Use the first row as keys",
         "firstRow": "Use the first row as keys",
         "keysAsFirstRow": "Use keys as the first row",
         "keysAsFirstRow": "Use keys as the first row",

+ 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" />