mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
#4505 RD // Einbuchen - Bearbeiten Seite wird mal in Split Screen Ansicht mal ohne angezeigt
This commit is contained in:
@@ -21,10 +21,20 @@ export abstract class PickupShelfDetailsBaseComponent {
|
||||
listStore = inject(PickupShelfStore);
|
||||
|
||||
get side() {
|
||||
return coerceBooleanProperty(this.activatedRoute.snapshot.queryParams.side);
|
||||
if (this.activatedRoute.snapshot.queryParams.side !== undefined) {
|
||||
return coerceBooleanProperty(this.activatedRoute.snapshot.queryParams.side);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
side$ = this.activatedRoute.queryParams.pipe(map((params) => coerceBooleanProperty(params.side)));
|
||||
side$ = this.activatedRoute.queryParams.pipe(
|
||||
map((params) => {
|
||||
if (params.side !== undefined) {
|
||||
return coerceBooleanProperty(params.side);
|
||||
}
|
||||
return true;
|
||||
})
|
||||
);
|
||||
|
||||
constructor() {
|
||||
this.activatedRoute.params.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((params) => {
|
||||
|
||||
Reference in New Issue
Block a user