Merge branch 'RED-8730' into 'master'
RED-8730: fixed error when opening dictionaries in settings. See merge request redactmanager/red-ui!339
This commit is contained in:
commit
0b92a5bda2
@ -121,9 +121,11 @@ export class DictionaryManagerComponent implements OnChanges, OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set selectedDictionary(dictionary: Dictionary) {
|
set selectedDictionary(dictionary: Dictionary) {
|
||||||
this.selectedDictionaryType = dictionary.type;
|
if (dictionary.type) {
|
||||||
this.#dictionary = dictionary;
|
this.selectedDictionaryType = dictionary.type;
|
||||||
this.#onDossierChanged(this.#dossier.dossierTemplateId).then(entries => this.#updateDiffEditorText(entries));
|
this.#dictionary = dictionary;
|
||||||
|
this.#onDossierChanged(this.#dossier.dossierTemplateId).then(entries => this.#updateDiffEditorText(entries));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
get optionNotSelected() {
|
get optionNotSelected() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user