|
|
@@ -69,13 +69,13 @@ export default {
|
|
69
|
69
|
: this.$route.path.split('/').pop()
|
|
70
|
70
|
// !: BUG
|
|
71
|
71
|
// if(this.type !== sort || !Object.values(sortTypes).includes(sort)) sort = null
|
|
72
|
|
- if (Object.values(sortTypes).includes(sort)) {
|
|
73
|
|
- console.log('trying to sort by:', sort)
|
|
74
|
|
- console.log(
|
|
75
|
|
- `sortTypes includes ${sort}:`,
|
|
76
|
|
- Object.values(sortTypes).includes(sort),
|
|
77
|
|
- )
|
|
78
|
|
- }
|
|
|
72
|
+ // if (Object.values(sortTypes).includes(sort)) {
|
|
|
73
|
+ // console.log('trying to sort by:', sort)
|
|
|
74
|
+ // console.log(
|
|
|
75
|
+ // `sortTypes includes ${sort}:`,
|
|
|
76
|
+ // Object.values(sortTypes).includes(sort),
|
|
|
77
|
+ // )
|
|
|
78
|
+ // }
|
|
79
|
79
|
|
|
80
|
80
|
// Don't dispatch if there's no type
|
|
81
|
81
|
if (this.type && this.dispatchName) {
|
|
|
@@ -131,7 +131,7 @@ export default {
|
|
131
|
131
|
},
|
|
132
|
132
|
created() {
|
|
133
|
133
|
let type = convertTitleCase(this.type)
|
|
134
|
|
- console.log(`${type} already loaded?:`, this[`all${type}Loaded`])
|
|
|
134
|
+ // console.log(`${type} already loaded?:`, this[`all${type}Loaded`])
|
|
135
|
135
|
|
|
136
|
136
|
this.checkAndSetHero(this.type)
|
|
137
|
137
|
|