Merge github.com-picklenik:Frontesque/VueTube

This commit is contained in:
Nikita Krupin 2022-03-17 20:52:55 -04:00
commit 4c6a30fcdc
2 changed files with 5 additions and 4 deletions

View File

@ -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;
}
},
}
</script>
</script>

View File

@ -1,5 +1,5 @@
<template>
<div>
<div class="py-1">
<center v-if="videos.length == 0">
<v-skeleton-loader type="card-avatar, article, actions" />