Browse Source

fix: update message not showing

Ahmad Kholid 3 years ago
parent
commit
bbca2c0514
3 changed files with 3 additions and 5 deletions
  1. 0 3
      src/background/index.js
  2. 2 2
      src/newtab/App.vue
  3. 1 0
      src/newtab/pages/settings/SettingsAbout.vue

+ 0 - 3
src/background/index.js

@@ -108,9 +108,6 @@ const workflow = {
                 status === 'success' ? 'Successfully' : 'Failed'
               } to run the "${name}" workflow`,
             });
-          })
-          .catch((error) => {
-            console.error(error);
           });
       });
 

+ 2 - 2
src/newtab/App.vue

@@ -23,7 +23,7 @@
       </template>
     </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 dark:text-gray-900 flex items-center"
     >
       <v-remixicon name="riInformationLine" class="mr-3" />
@@ -31,7 +31,7 @@
         {{ t('updateMessage.text1', { version: currentVersion }) }}
       </p>
       <a
-        :href="`https://github.com/Kholid060/automa/releases/tag/v${currentVersion}`"
+        :href="`https://github.com/Kholid060/automa/releases/tag/v1.12.0`"
         target="_blank"
         rel="noopener"
         class="underline ml-1"

+ 1 - 0
src/newtab/pages/settings/SettingsAbout.vue

@@ -44,6 +44,7 @@
         />
       </a>
     </div>
+    <h3>Translators</h3>
   </div>
 </template>
 <script setup>