refactor(frontend): 🚧 Migrate Dashboard to Nuxt

Add API and Functinality for Admin Dashboard. Stills needs to clean-up. See // TODO's
This commit is contained in:
hay-kot 2021-08-07 15:12:25 -08:00
commit 9386cc320b
32 changed files with 671 additions and 113 deletions

View file

@ -50,10 +50,10 @@ export default {
},
computed: {
allCategories() {
return this.$store.getters.getAllCategories;
return this.$store.getters.getAllCategories || [];
},
allTags() {
return this.$store.getters.getAllTags;
return this.$store.getters.getAllTags || [];
},
urlParam() {
return this.isCategory ? "category" : "tag";