Merged in fix/book-607-fix-old-links-my-stay (pull request #3365)
fix: updated to use new link structure on My Stay * fix: updated to use new link structure on My Stay * fix(BOOK-607): hide hotel page link if link prop is missing * comment fixes * fix(BOOK-607): read href from window (lcalhost not allowed) Approved-by: Matilda Landström
This commit is contained in:
@@ -45,6 +45,7 @@ interface Actions {
|
||||
}
|
||||
|
||||
export interface MyStayState {
|
||||
hotelUrl: string | null
|
||||
actions: Actions
|
||||
allRoomsAreCancelled: boolean
|
||||
bookedRoom: Room
|
||||
@@ -61,17 +62,17 @@ export interface MyStayState {
|
||||
isPastBooking: boolean
|
||||
}
|
||||
|
||||
export interface InitialState
|
||||
extends Pick<
|
||||
MyStayState,
|
||||
| "breakfastPackages"
|
||||
| "hotel"
|
||||
| "refId"
|
||||
| "savedCreditCards"
|
||||
| "isLoggedIn"
|
||||
| "isPastBooking"
|
||||
> {
|
||||
export interface InitialState extends Pick<
|
||||
MyStayState,
|
||||
| "breakfastPackages"
|
||||
| "hotel"
|
||||
| "refId"
|
||||
| "savedCreditCards"
|
||||
| "isLoggedIn"
|
||||
| "isPastBooking"
|
||||
> {
|
||||
intl: IntlShape
|
||||
roomCategories: RoomCategories
|
||||
rooms: BookingRoom[]
|
||||
hotelUrl: string | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user