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