Merge remote-tracking branch 'origin/feature/fix-gql-state' into feature/fix-gql-state

This commit is contained in:
Dmitry Yankowski
2020-02-25 10:56:47 -05:00

View File

@@ -13,6 +13,12 @@ export default {
: theme.collapsedSections.push(value)
},
setCollapsedSection({ theme }, value) {
theme.collapsedSections.includes(value)
? (theme.collapsedSections = theme.collapsedSections.filter(section => section !== value))
: theme.collapsedSections.push(value)
},
addGQLHeader({ gql }, object) {
gql.headers.push(object)
},