[SSE] Fix Bug 57805

This commit is contained in:
ShimaginAndrey 2022-06-28 10:18:17 +03:00
parent 200acbcc4f
commit f7de33d2c8

View file

@ -123,8 +123,7 @@ const PageTabColor = inject("storePalette")(observer(props => {
const changeColor = (color, effectId, effectValue) => { const changeColor = (color, effectId, effectValue) => {
if (color !== 'empty') { if (color !== 'empty') {
if (effectId !== undefined ) { if (effectId !== undefined ) {
const newColor = {color: color, effectId: effectId, effectValue: effectValue}; sheets.changeTabColor(color);
sheets.changeTabColor(newColor);
props.onSetWorkSheetColor(color); props.onSetWorkSheetColor(color);
} else { } else {
sheets.changeTabColor(color); sheets.changeTabColor(color);