Merged in fix/STAY-65-manage-stay (pull request #3089)

Fix/STAY-65 manage stay

* fix: Disable manage stay for past bookings

* fix: handle past and cancelled stay the same

* fix: indentify past booking

* fix: refactor to use design system components


Approved-by: Erik Tiekstra
This commit is contained in:
Christel Westerberg
2025-11-07 06:43:13 +00:00
parent 9a07dee05b
commit 6083eea5cc
57 changed files with 178 additions and 188 deletions

View File

@@ -57,12 +57,18 @@ export interface MyStayState {
savedCreditCards: CreditCard[] | null
totalPoints: number
totalPrice: string
isPastBooking: boolean
}
export interface InitialState
extends Pick<
MyStayState,
"breakfastPackages" | "hotel" | "refId" | "savedCreditCards" | "isLoggedIn"
| "breakfastPackages"
| "hotel"
| "refId"
| "savedCreditCards"
| "isLoggedIn"
| "isPastBooking"
> {
intl: IntlShape
roomCategories: RoomCategories