Merged in fix/SW-2853-tracking-breakfast-ancillaries (pull request #2188)
fix(SW-2853): tracking for breakfast ancillaries * fix(SW-2853): tracking for breakfast ancillaries * fix(SW-2853): viewAncillary event fix for breakfast * fix(SW-2853): pr comment spread room facilities Approved-by: Tobias Johansson
This commit is contained in:
@@ -20,12 +20,14 @@ export default function RemoveButton({
|
||||
title,
|
||||
booking,
|
||||
ancillary,
|
||||
addedBreakfastPackages,
|
||||
}: {
|
||||
refId: string
|
||||
codes: string[]
|
||||
title?: string
|
||||
booking: Room
|
||||
ancillary: PackageSchema
|
||||
addedBreakfastPackages: PackageSchema[] | undefined
|
||||
}) {
|
||||
const lang = useLang()
|
||||
const intl = useIntl()
|
||||
@@ -75,7 +77,8 @@ export default function RemoveButton({
|
||||
trackRemoveAncillary(
|
||||
ancillary,
|
||||
booking.hotelId,
|
||||
booking.ancillary?.deliveryTime
|
||||
booking.ancillary?.deliveryTime,
|
||||
addedBreakfastPackages
|
||||
)
|
||||
router.refresh()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user