[DE mobile] Correct removing custom style

This commit is contained in:
SergeyEzhin 2022-05-20 18:46:54 +04:00
parent aaf5c48990
commit 3a58c8e9f3

View file

@ -286,7 +286,7 @@ const EditParagraphStyle = props => {
{!api.asc_IsStyleDefault(style.name) && ( {!api.asc_IsStyleDefault(style.name) && (
<div slot="inner-end"> <div slot="inner-end">
<Link onClick={async () => { <Link onClick={async () => {
await props.f7router.back(); await storeParagraphSettings.changeParaStyleName('Normal');
await props.onStyleMenuDelete(style.name); await props.onStyleMenuDelete(style.name);
}}> }}>
<Icon icon="icon-remove-style" /> <Icon icon="icon-remove-style" />