RED-6774 - updated disabled method for add hint dialog

This commit is contained in:
Valentin Mihai 2023-07-25 15:09:50 +03:00
parent 8a20d8ef93
commit 38469c392d
2 changed files with 2 additions and 5 deletions

View File

@ -64,10 +64,7 @@ export class AddHintDialogComponent extends IqserDialogComponent<AddHintDialogCo
}
get disabled() {
if (this.dictionaryRequest || this.#isRss) {
return !this.form.get('dictionary').value;
}
return false;
return this.#isRss || !this.form.get('dictionary').value;
}
async ngOnInit(): Promise<void> {

@ -1 +1 @@
Subproject commit 7ff7864767e693a74ef1e05c8808847f7b4f0841
Subproject commit b368fa6fe89b1cf65eb76ce15868bccf1a51ff67