fixed scroll after save on description-template-editor

This commit is contained in:
Sofia Papacharalampous 2024-05-09 15:09:28 +03:00
parent cae551ecc3
commit d07bc41c75
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ export class DescriptionTemplateEditorComponent extends BaseEditor<DescriptionTe
this._updateOrdinals(tocentries); this._updateOrdinals(tocentries);
if (tocentries && tocentries.length) { if (tocentries && tocentries.length && !this.selectedTocEntry) {
this.selectedTocEntry = tocentries[0]; this.selectedTocEntry = tocentries[0];
} }