fixed scroll after save on description-template-editor
This commit is contained in:
parent
cae551ecc3
commit
d07bc41c75
|
@ -427,7 +427,7 @@ export class DescriptionTemplateEditorComponent extends BaseEditor<DescriptionTe
|
|||
|
||||
this._updateOrdinals(tocentries);
|
||||
|
||||
if (tocentries && tocentries.length) {
|
||||
if (tocentries && tocentries.length && !this.selectedTocEntry) {
|
||||
this.selectedTocEntry = tocentries[0];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue