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

@@ -210,6 +210,8 @@ export default {
this.$store.commit('page/SET_TAGS', this.tags)
this.$store.commit('page/SET_TITLE', this.title)
this.$store.commit('page/SET_UPDATED_AT', this.updatedAt)
this.$store.commit('page/SET_MODE', 'view')
},
mounted () {
Prism.highlightAllUnder(this.$refs.container)