Skip to content

Commit

Permalink
Close warnings modal after all warnings have been resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
tkleinke committed Nov 9, 2023
1 parent 6db30e2 commit f7382f4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,12 @@ export class WarningsModalComponent {
this.warningFilters = await WarningFilters.getWarningFilters(
this.indexFacade, this.utilTranslations, this.hasConfigurationConflict
);
this.selectWarningFilter(this.selectedWarningFilter.constraintName);

if (this.warningFilters.length > 0) {
this.selectWarningFilter(this.selectedWarningFilter.constraintName);
} else {
this.close();
}
}


Expand Down

0 comments on commit f7382f4

Please sign in to comment.