mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-25 20:55:17 +00:00
Don't display update notification when running dev build
This commit is contained in:
parent
a860645193
commit
812feb0bd5
1 changed files with 4 additions and 3 deletions
|
@ -28,7 +28,8 @@ export default {
|
|||
|
||||
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;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue