fix: hide page actions when not applicable

This commit is contained in:
Nicolas Giard
2018-11-19 01:08:55 -05:00
parent 27adad8dad
commit aaeb24a8ec
8 changed files with 52 additions and 31 deletions

View File

@@ -125,7 +125,10 @@ export default {
computed: {
darkMode: get('site/dark')
},
router
router,
created() {
this.$store.commit('page/SET_MODE', 'admin')
}
}
</script>