Rename resources module => data, add look up tag, add polyfill for flat()

This commit is contained in:
Unknown
2019-06-22 17:43:40 +02:00
parent a57aa260bc
commit ba47943934
4 changed files with 48 additions and 23 deletions

View File

@@ -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>