From b07d7d7229c376a0588d86ee8a28735bdcf99b7f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 23 Nov 2018 11:36:36 +0300 Subject: reset buttons, better disabled for shadows --- src/components/style_switcher/style_switcher.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/components/style_switcher/style_switcher.js') 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) -- cgit v1.2.3-70-g09d2