|
|
@@ -51,16 +51,21 @@ export default {
|
|
51
|
51
|
}
|
|
52
|
52
|
},
|
|
53
|
53
|
computed: {
|
|
54
|
|
- grid: () => this.type ? gridTypes.includes(this.type) : null,
|
|
55
|
|
- isWide: () => this.type ? wideTypes.includes(this.type) : null,
|
|
56
|
|
- sidebar: () => this.type ? !sansSidebarTypes.includes(this.type) : null,
|
|
57
|
54
|
type() {
|
|
58
|
|
- // Checks for type and fixes Episodes route edge case
|
|
59
|
55
|
return this.$route.params.type
|
|
60
|
56
|
},
|
|
61
|
57
|
sortBy() {
|
|
62
|
58
|
return this.$route.params.sortBy
|
|
63
|
59
|
},
|
|
|
60
|
+ grid() {
|
|
|
61
|
+ return gridTypes.includes(this.type)
|
|
|
62
|
+ },
|
|
|
63
|
+ isWide() {
|
|
|
64
|
+ return wideTypes.includes(this.type)
|
|
|
65
|
+ },
|
|
|
66
|
+ sidebar() {
|
|
|
67
|
+ return !sansSidebarTypes.includes(this.type)
|
|
|
68
|
+ },
|
|
64
|
69
|
pType() {
|
|
65
|
70
|
if(!this.type) return
|
|
66
|
71
|
return `${convertTitleCase(this.type)}s`
|