Merge pull request #576 from jellyfin/fix-nuxt-loading-undefined

fix: this.$nuxt.$loading.finish() is not a function
This commit is contained in:
Julien Machiels 2021-01-16 17:16:44 +01:00 committed by GitHub
commit 9c40d81265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,9 @@ export default Vue.extend({
break;
}
this.$nuxt.$loading.finish();
this.$nextTick(() => {
this.$nuxt.$loading.finish();
});
}
},
destroyed() {