aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-11-23 11:36:36 +0300
committerHenry Jameson <me@hjkos.com>2018-11-23 11:36:36 +0300
commitb07d7d7229c376a0588d86ee8a28735bdcf99b7f (patch)
tree4d0b96ba7d04a30e1e19670da208e6c3dbbb7dc8 /src/components/style_switcher/style_switcher.js
parent26b9f787bb01551f991f9e79aa8c0fc59313b95e (diff)
reset buttons, better disabled for shadows
Diffstat (limited to 'src/components/style_switcher/style_switcher.js')
-rw-r--r--src/components/style_switcher/style_switcher.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js
index e1a17837..d45ce455 100644
--- a/src/components/style_switcher/style_switcher.js
+++ b/src/components/style_switcher/style_switcher.js
@@ -369,6 +369,10 @@ export default {
})
},
+ clearAll () {
+ this.normalizeLocalState(this.$store.state.config.customTheme)
+ },
+
// Clears all the extra stuff when loading V1 theme
clearV1 () {
Object.keys(this.$data)