-
+
{
this.$router.push({ name: "404" });
});
- } else if (this.type == "person") {
- getPerson(this.id, false)
+ } else if (this.type == "show") {
+ getShow(this.id, false, true)
.then(this.parseResponse)
.catch(error => {
this.$router.push({ name: "404" });
});
} else {
- getShow(this.id, true, true)
- .then(this.parseResponse)
- .catch(error => {
- this.$router.push({ name: "404" });
- });
+ this.$router.push({ name: "404" });
}
},
beforeDestroy() {
@@ -497,4 +498,13 @@ header {
}
}
}
+
+.fade-enter-active,
+.fade-leave-active {
+ transition: opacity 0.4s;
+}
+.fade-enter,
+.fade-leave-to {
+ opacity: 0;
+}