getMovie & getShow should also request cast data
This commit is contained in:
@@ -303,7 +303,7 @@ export default {
|
|||||||
this.prevDocumentTitle = store.getters["documentTitle/title"];
|
this.prevDocumentTitle = store.getters["documentTitle/title"];
|
||||||
|
|
||||||
if (this.type === "movie") {
|
if (this.type === "movie") {
|
||||||
getMovie(this.id, false, true)
|
getMovie(this.id, true, true)
|
||||||
.then(this.parseResponse)
|
.then(this.parseResponse)
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
this.$router.push({ name: "404" });
|
this.$router.push({ name: "404" });
|
||||||
@@ -315,7 +315,7 @@ export default {
|
|||||||
this.$router.push({ name: "404" });
|
this.$router.push({ name: "404" });
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getShow(this.id, false)
|
getShow(this.id, true, true)
|
||||||
.then(this.parseResponse)
|
.then(this.parseResponse)
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
this.$router.push({ name: "404" });
|
this.$router.push({ name: "404" });
|
||||||
|
|||||||
Reference in New Issue
Block a user