[DE mobile] Correct removing custom style
This commit is contained in:
parent
aaf5c48990
commit
3a58c8e9f3
|
@ -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" />
|
||||||
|
|
Loading…
Reference in a new issue