From 36160209d63f156d73f2cb82430fc7c5e15cefcc Mon Sep 17 00:00:00 2001 From: Justyn Boyer Date: Mon, 24 Aug 2020 12:16:25 +0100 Subject: [PATCH] fix(/anime): title will default to english --- src/pages/Anime.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pages/Anime.vue b/src/pages/Anime.vue index 07a6fbe7..b0f337e2 100644 --- a/src/pages/Anime.vue +++ b/src/pages/Anime.vue @@ -63,9 +63,15 @@ >
-

{{ anime.title }}

+
+

{{ anime.title_english }}

-
{{ anime.title_english }}
+
{{ anime.title }}
+
+ + + +

{{ anime.title }}

{{ anime.synopsis }}

@@ -349,7 +355,7 @@ export default Vue.extend({ // @ts-ignore this.player = new Plyr('#player'); }, 1000); - document.title = `${this.anime.title} | Mirai`; + document.title = `${this.anime.title_english || this.anime.title} | Mirai`; /* @ts-ignore */ let cache = this.$q.localStorage.getItem('cache'); /* @ts-ignore */