mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
fix: current format show in custom format selection menu
This commit is contained in:
@ -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)}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user