mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 04:25:06 +08:00
Update EditCell.jsx
This commit is contained in:
committed by
Oleg Korshul
parent
f97ac61f0b
commit
761a980db7
@ -133,11 +133,9 @@ const PageCellStyle = props => {
|
||||
const storeCellSettings = props.storeCellSettings;
|
||||
const styleName = storeCellSettings.styleName;
|
||||
const cellStyles = storeCellSettings.cellStyles;
|
||||
console.log(cellStyles);
|
||||
const countStylesSlide = Device.phone ? 6 : 15;
|
||||
const countSlides = Math.floor(cellStyles.length / countStylesSlide);
|
||||
const arraySlides = Array(countSlides).fill(countSlides);
|
||||
console.log(arraySlides);
|
||||
|
||||
return (
|
||||
<Page>
|
||||
@ -1172,4 +1170,4 @@ export {
|
||||
CellStyle,
|
||||
CustomFormats,
|
||||
PageCreationCustomFormat
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user