From 618553a03dbcd8420066b46e834ba4eb0ac4016b Mon Sep 17 00:00:00 2001 From: ShimaginAndrey Date: Wed, 22 Jun 2022 09:33:01 +0300 Subject: [PATCH] [DE PE] Fix Bug 57696 --- .../mobile/src/view/edit/EditText.jsx | 21 +++++-------- .../mobile/src/view/edit/EditText.jsx | 31 +++++++------------ 2 files changed, 19 insertions(+), 33 deletions(-) diff --git a/apps/documenteditor/mobile/src/view/edit/EditText.jsx b/apps/documenteditor/mobile/src/view/edit/EditText.jsx index b77b024e0..4a085bd69 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditText.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditText.jsx @@ -243,25 +243,18 @@ const PageNumbers = observer( props => { return ( - {numberArrays.map((numbers, index) => ( - - {numbers.map((number) => ( - + {numberArrays.map( number => ( + { - storeTextSettings.resetNumbers(number.type); - props.onNumber(number.type); + storeTextSettings.resetNumbers(number.subtype); + props.onNumber(number.subtype); }}> - {number.thumb.length < 1 ? - - - : - - } +
))} -
- ))} +
); }); diff --git a/apps/presentationeditor/mobile/src/view/edit/EditText.jsx b/apps/presentationeditor/mobile/src/view/edit/EditText.jsx index 778473eb0..4e003d176 100644 --- a/apps/presentationeditor/mobile/src/view/edit/EditText.jsx +++ b/apps/presentationeditor/mobile/src/view/edit/EditText.jsx @@ -570,25 +570,18 @@ const PageNumbers = observer(props => { return ( - {numberArrays.map((numbers, index) => ( - - {numbers.map((number) => ( - { - storeTextSettings.resetNumbers(number.type); - props.onNumber(number.type); - }}> - {number.thumb.length < 1 ? - - - : - - } - - ))} - - ))} + + {numberArrays.map( number => ( + { + storeTextSettings.resetNumbers(number.subtype); + props.onNumber(number.subtype); + }}> +
+
+ ))} +
); });