mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2025-02-21 22:40:37 +00:00
fix(genre): remove console error
This commit is contained in:
parent
f129cc0e75
commit
de788cfc47
@ -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,
|
||||
|
@ -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);
|
||||
|
@ -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 = '';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user