[DE] Fix Bug 56545
This commit is contained in:
parent
ef7fef6b28
commit
dacbc17eca
|
@ -617,6 +617,7 @@ class MainController extends Component {
|
|||
default:
|
||||
storeTextSettings.resetBullets(-1);
|
||||
storeTextSettings.resetNumbers(-1);
|
||||
storeTextSettings.resetMultiLevel(-1);
|
||||
}
|
||||
});
|
||||
this.api.asc_registerCallback('asc_onPrAlign', (align) => {
|
||||
|
|
|
@ -286,11 +286,11 @@ const PageMultiLevel = observer(props => {
|
|||
<View className='multilevels dataview'>
|
||||
<List className="row" style={{listStyle: 'none'}}>
|
||||
{arrayMultiLevel.map((item) => (
|
||||
<ListItem key={'multi-level-' + item.type} data-type={item.type} className={item.type === typeMultiLevel ? 'active' : ''}
|
||||
onClick={(e) => {
|
||||
item.type === -1 ? storeTextSettings.resetMultiLevel(-1) : storeTextSettings.resetMultiLevel(null);
|
||||
props.onMultiLevelList(item.type);
|
||||
}}>
|
||||
<ListItem
|
||||
key={'multi-level-' + item.type}
|
||||
data-type={item.type}
|
||||
className={item.type === typeMultiLevel && storeTextSettings.listType === -1 ? 'active' : ''}
|
||||
onClick={() => props.onMultiLevelList(item.type)}>
|
||||
{item.thumb.length < 1 ?
|
||||
<Icon className="thumb" style={{position: 'relative'}}>
|
||||
<label>{t('Edit.textNone')}</label>
|
||||
|
|
Loading…
Reference in a new issue