We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f14ee70 + 063ae54 commit d1953a6Copy full SHA for d1953a6
1 file changed
src/store/modules/setting.ts
@@ -45,7 +45,7 @@ export const useSettingStore = defineStore('setting', {
45
46
document.documentElement.setAttribute('theme-mode', isDarkMode ? 'dark' : '');
47
48
- this.chartColor = isDarkMode ? DARK_CHART_COLORS : LIGHT_CHART_COLORS;
+ this.chartColors = isDarkMode ? DARK_CHART_COLORS : LIGHT_CHART_COLORS;
49
},
50
changeBrandTheme(brandTheme: string) {
51
document.documentElement.setAttribute('theme-color', brandTheme);
0 commit comments