We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77113a0 commit bae3601Copy full SHA for bae3601
src/components/ThemePicker/index.vue
@@ -18,7 +18,8 @@ export default {
18
}
19
},
20
watch: {
21
- theme(val, oldVal) {
+ theme(val) {
22
+ const oldVal = this.theme
23
if (typeof val !== 'string') return
24
const themeCluster = this.getThemeCluster(val.replace('#', ''))
25
const originalCluster = this.getThemeCluster(oldVal.replace('#', ''))
0 commit comments