Merged PR 1491: #3849 Improvement Sortiment Filter Display Hint

#3849 Improvement Sortiment Filter Display Hint
This commit is contained in:
Nino Righi
2023-02-17 13:49:47 +00:00
committed by Lorenz Hilpert
parent 303d575fde
commit 526ebc77bc

View File

@@ -105,7 +105,7 @@ export class PriceUpdateComponent implements OnInit {
return;
}
if (response.result.length === 0) {
if (response.result.length === 0 && this.filterOverlay.isOpen) {
this.hint$.next('Keine Preisänderungen vorhanden');
return;
}
@@ -141,6 +141,7 @@ export class PriceUpdateComponent implements OnInit {
}
closeFilterOverlay() {
this.hint$.next('');
this.filterOverlay.close();
this.store.restorePendingFilter();
}