mirror of https://github.com/VueTubeApp/VueTube
Merge github.com-picklenik:Frontesque/VueTube
This commit is contained in:
commit
4c6a30fcdc
|
@ -25,12 +25,13 @@ export default {
|
||||||
updateSnackbarTimeout: 5000
|
updateSnackbarTimeout: 5000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async mounted() {
|
async mounted() {
|
||||||
const commits = await this.$vuetube.commits;
|
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;
|
this.updateSnackbar = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="py-1">
|
||||||
|
|
||||||
<center v-if="videos.length == 0">
|
<center v-if="videos.length == 0">
|
||||||
<v-skeleton-loader type="card-avatar, article, actions" />
|
<v-skeleton-loader type="card-avatar, article, actions" />
|
||||||
|
|
Loading…
Reference in New Issue