fixed #1323 + chore(deps) bump

This commit is contained in:
Liyas Thomas
2020-11-12 06:48:40 +05:30
parent 3a34331cc2
commit 9b6394627b
3 changed files with 5 additions and 11 deletions

View File

@@ -86,16 +86,10 @@ export default {
type: String,
default: "Section",
},
collapsed: {
type: Boolean,
},
},
methods: {
collapse({ target }) {
const parent = target.parentNode.parentNode
parent.querySelector(".collapsible").classList.toggle("hidden")
collapse() {
// Save collapsed section into the collapsedSections array
this.$store.commit("setCollapsedSection", this.sectionString)
},