fix: current format show in custom format selection menu

This commit is contained in:
Konstantin Kireyev
2026-01-22 13:31:50 +05:00
parent bc4f531cfb
commit 4d96be4bf1

View File

@ -1166,7 +1166,6 @@ const PageFormatCell = props => {
checked={cellFormatType === Asc.c_oAscNumFormatType.Custom}
link="/custom-format/"
routeProps={{
cellFormat,
onCellFormat: props.onCellFormat,
setCustomFormat: props.setCustomFormat
}}
@ -1224,7 +1223,7 @@ const PageCustomFormats = props => {
name="custom-format"
title={item.format}
value={item.value}
checked={item.value === props.cellFormat}
checked={item.value === storeCellSettings.cellFormat}
onChange={() => handleCellFormatClick(item.value)}
/>
))}