Merged PR 1536: #4068 Hotfix Warenkorb Rücklage Menge ändern

#4068 Warenkorb Rücklage Menge ändern hotfix
This commit is contained in:
Andreas Schickinger
2023-06-01 15:42:19 +00:00
committed by Nino Righi
parent ef72dcf554
commit 1df201525c

View File

@@ -165,7 +165,7 @@ export class DomainAvailabilityService {
),
map(([response, supplier, defaultBranch]) => {
const price = item?.price;
return this._mapToTakeAwayAvailability({ response, supplier, branchId: branch.id ?? defaultBranch.id, quantity, price });
return this._mapToTakeAwayAvailability({ response, supplier, branchId: branch?.id ?? defaultBranch?.id, quantity, price });
}),
shareReplay(1)
);