Rename resources module => data, add look up tag, add polyfill for flat()
This commit is contained in:
@@ -14,7 +14,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.categories = this.$store.state.resources.map(({ title, slug }) => ({ title, slug }))
|
||||
this.categories = this.$store.state.data.resources.map(({ title, slug }) => ({ title, slug }))
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user