Merged PR 1672: #4457 Fixed routing after Filter close

#4457 Fixed routing after Filter close
This commit is contained in:
Nino Righi
2023-11-07 15:08:31 +00:00
committed by Lorenz Hilpert
parent 8ac8f6cc1f
commit 772ba29a8e

View File

@@ -53,7 +53,9 @@ export class PickupShelfFilterComponent {
return this._activatedRoute?.parent?.params?.pipe(
map((params) => {
const hasProcessId = !!params?.processId;
if (!!this.order) {
// Ticket #4457 also check the sideOutlet, because order could be still defined in detailsStore
if (!!this.order && this.sideOutlet !== 'search') {
return this._routeToShelfDetails(hasProcessId);
}