diff --git a/NUXT/components/updateChecker.vue b/NUXT/components/updateChecker.vue index 6c75791..c97e5e6 100644 --- a/NUXT/components/updateChecker.vue +++ b/NUXT/components/updateChecker.vue @@ -25,12 +25,13 @@ export default { updateSnackbarTimeout: 5000 } }, - + async mounted() { const commits = await this.$vuetube.commits; - if (commits[0].sha != process.env.appVersion) { + const appVersion = process.env.appVersion; + if (appVersion !== commits[0].sha && appVersion !== 'dev-local') { this.updateSnackbar = true; } }, } - \ No newline at end of file +