Skip to content

Commit

Permalink
Searcher dialog help is not opened with '?' when multiple selection #781
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguez2 committed Nov 17, 2023
1 parent 0447332 commit ccafd14
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ export abstract class AbstractSearcherComponent<T> implements OnInit {
if (response !== undefined) {
if (this.multipleSelection) {
this.multipleSelectedItemList = response;
if (!response?.length) {
this.openSearchDialog();

Check warning on line 174 in projects/systelab-components/src/lib/searcher/abstract-searcher.component.ts

View check run for this annotation

Codecov / codecov/patch

projects/systelab-components/src/lib/searcher/abstract-searcher.component.ts#L174

Added line #L174 was not covered by tests
}
} else {
if (response.length === 1) {
this.id = response[0][this.abstractSearcher.getIdField()];
Expand Down

0 comments on commit ccafd14

Please sign in to comment.