mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 11:47:04 +08:00
[SSE] Fix Bug 57805
This commit is contained in:
@ -123,8 +123,7 @@ const PageTabColor = inject("storePalette")(observer(props => {
|
||||
const changeColor = (color, effectId, effectValue) => {
|
||||
if (color !== 'empty') {
|
||||
if (effectId !== undefined ) {
|
||||
const newColor = {color: color, effectId: effectId, effectValue: effectValue};
|
||||
sheets.changeTabColor(newColor);
|
||||
sheets.changeTabColor(color);
|
||||
props.onSetWorkSheetColor(color);
|
||||
} else {
|
||||
sheets.changeTabColor(color);
|
||||
|
||||
Reference in New Issue
Block a user