diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx index 9f5e9ff1a..a47878c28 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx @@ -4,7 +4,7 @@ import { usePathname } from "next/navigation" import { useIntl } from "react-intl" import { dt } from "@scandic-hotels/common/dt" -import Body from "@scandic-hotels/design-system/Body" +import { Typography } from "@scandic-hotels/design-system/Typography" import { Transactions } from "@scandic-hotels/trpc/enums/transactions" import { webviews } from "@/constants/routes/webviews" @@ -33,9 +33,12 @@ export default function Row({ transaction }: RowProps) { ) let description = - transaction.hotelName && transaction.city - ? `${transaction.hotelName}, ${transaction.city} ${nightsMsg}` - : `${nightsMsg}` + transaction.confirmationNumber === "non-transactional" && + transaction.nights === 0 + ? "" + : transaction.hotelName && transaction.city + ? `${transaction.hotelName}, ${transaction.city} ${nightsMsg}` + : `${nightsMsg}` switch (transaction.type) { case Transactions.rewardType.stay: @@ -108,7 +111,9 @@ export default function Row({ transaction }: RowProps) { />
{description}
+