Refactor code

This commit is contained in:
sallbet 2023-03-13 03:49:34 +03:00
parent e5f67ebc08
commit de6e5ed38f
Signed by: sallbet
GPG Key ID: 3C8A1BC17088B308

View File

@ -296,8 +296,7 @@ export function getCPieOpts(isDarkMode) {
},
};
if (isDarkMode) {
const sColor = '#e6e6e6';
options.plugins.title.color = sColor;
options.plugins.title.color = '#e6e6e6';
}
return options;
}