Fix: dont dismiss active alerts on "dismiss completed" (#6364)

This commit is contained in:
shamoon
2024-04-10 10:55:37 -07:00
committed by GitHub
parent 10e10f9ff4
commit 7f6a50be5b
2 changed files with 5 additions and 8 deletions

View File

@@ -115,12 +115,9 @@ export class UploadFileWidgetComponent extends ComponentWithPermissions {
}
dismissCompleted() {
this.alerts.forEach((a) => a.close())
if (this.alertsExpanded) {
this.getStatusCompleted().forEach((status) =>
this.consumerStatusService.dismiss(status)
)
}
this.getStatusCompleted().forEach((status) =>
this.consumerStatusService.dismiss(status)
)
}
public onFileSelected(event: Event) {