Merged PR 1015: #2542 bei leere Liste wirf klick auf Abholfach Fehler

#2542 bei leere Liste wirf klick auf Abholfach Fehler

Related work items: #2542
This commit is contained in:
Lorenz Hilpert
2021-12-15 16:33:34 +00:00
committed by Andreas Schickinger
parent fa2c0d101f
commit 34a6c6d997

View File

@@ -105,7 +105,7 @@ export class GoodsInCleanupListComponent implements OnInit, OnDestroy {
for (const crumb of crumbs) {
this._breadcrumb.patchBreadcrumb(crumb.id, {
name: crumb.name,
params: { scroll_position: this.scrollContainer.scrollPos },
params: { scroll_position: this.scrollContainer?.scrollPos ?? 0 },
});
}
}