beginning to implement categories
This commit is contained in:
parent
6853e83a7f
commit
0e9f69c178
@ -207,6 +207,33 @@ export default {
|
|||||||
vm.pageLoading = true
|
vm.pageLoading = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (vm.$route.name === 'CATEGORIES') {
|
||||||
|
vm.tableData = [
|
||||||
|
{
|
||||||
|
name: 'Countries',
|
||||||
|
type: 'folder',
|
||||||
|
path: '#/categories/countries',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'States',
|
||||||
|
type: 'folder',
|
||||||
|
path: '#/categories/states',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Languages',
|
||||||
|
type: 'folder',
|
||||||
|
path: '#/categories/languages',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Tags',
|
||||||
|
type: 'folder',
|
||||||
|
path: '#/categories/tags',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
vm.pageLoading = false
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
// Skip loading more stations on certain sites
|
// Skip loading more stations on certain sites
|
||||||
if (vm.offset > 0
|
if (vm.offset > 0
|
||||||
&& (vm.$route.name === 'FAVORITES'
|
&& (vm.$route.name === 'FAVORITES'
|
||||||
@ -214,8 +241,6 @@ export default {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(vm.$route.name)
|
|
||||||
|
|
||||||
if (menuState === 'TOP') {
|
if (menuState === 'TOP') {
|
||||||
sortBy = 'clickcount'
|
sortBy = 'clickcount'
|
||||||
} else if (menuState === 'NEW') {
|
} else if (menuState === 'NEW') {
|
||||||
|
Loading…
Reference in New Issue
Block a user