Merged in fix/SW-1760-room-details-button-wrong-color (pull request #1440)

fix: added prop to ToggleSidePeek to fix color regression

* fix: added prop to ToggleSidePeek to fix color regression


Approved-by: Arvid Norlin
This commit is contained in:
Tobias Johansson
2025-02-28 08:23:15 +00:00
parent 69139c5230
commit 95917e5e4f
2 changed files with 6 additions and 1 deletions

View File

@@ -87,7 +87,11 @@ export default function SelectedRoom({
</div> </div>
{roomTypeCode && ( {roomTypeCode && (
<div className={styles.details}> <div className={styles.details}>
<ToggleSidePeek hotelId={hotelId} roomTypeCode={roomTypeCode} /> <ToggleSidePeek
hotelId={hotelId}
roomTypeCode={roomTypeCode}
intent="text"
/>
</div> </div>
)} )}
</div> </div>

View File

@@ -309,6 +309,7 @@ export default function RoomCard({ roomConfiguration }: RoomCardProps) {
hotelId={hotelId.toString()} hotelId={hotelId.toString()}
roomTypeCode={roomConfiguration.roomTypeCode} roomTypeCode={roomConfiguration.roomTypeCode}
title={intl.formatMessage({ id: "Room details" })} title={intl.formatMessage({ id: "Room details" })}
intent="text"
/> />
)} )}
</div> </div>