mirror of https://github.com/VueTubeApp/VueTube
feat: ✨ Update page now shows releases
This commit is contained in:
parent
cff501cd5e
commit
4786f863d7
|
@ -39,7 +39,7 @@ export default {
|
|||
async mounted() {
|
||||
const releases = await this.$vuetube.releases;
|
||||
const appVersion = process.env.appVersion;
|
||||
if (appVersion !== releases[0].sha && appVersion !== "dev-local") {
|
||||
if (appVersion !== releases[0].tag_name && appVersion !== "dev-local") {
|
||||
this.updateSnackbar = true;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue