fix(genre): remove console error

This commit is contained in:
cameron clark 2020-11-28 12:05:44 +00:00 committed by Julien Machiels
parent f129cc0e75
commit de788cfc47
3 changed files with 0 additions and 5 deletions

View File

@ -128,7 +128,6 @@ export default Vue.extend({
this.loaded = true;
} catch (error) {
console.error(error);
// Can't get given library ID
this.$nuxt.error({
statusCode: 404,

View File

@ -1,8 +1,6 @@
import { Plugin } from '@nuxt/types';
const appInitPlugin: Plugin = (context) => {
// eslint-disable-next-line no-console
console.error('setting base url');
const { serverUsed } = context.store.state.servers;
if (serverUsed) {
context.$axios.setBaseURL(serverUsed.address);

View File

@ -27,13 +27,11 @@ export const actions: ActionTree<BackdropState, BackdropState> = {
if (item.ImageBlurHashes.Backdrop && item.BackdropImageTags.length > 0) {
hash = item.ImageBlurHashes?.Backdrop[item.BackdropImageTags[0]];
console.error(hash);
} else if (
item.ImageBlurHashes.Backdrop &&
item.ParentBackdropImageTags.length > 0
) {
hash = item.ImageBlurHashes?.Backdrop[item.ParentBackdropImageTags[0]];
console.error(hash);
} else {
hash = '';
}