From 54c0fe4a16b235631442d0bfc954a29106283f80 Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Tue, 19 Nov 2024 05:31:49 +0300 Subject: [PATCH] chore(room-booking): add button to show booking on timeline --- src/components/room-booking/list/BookingsListPage.tsx | 11 +++++++++++ .../room-booking/timeline/RoomBookingPage.tsx | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/room-booking/list/BookingsListPage.tsx b/src/components/room-booking/list/BookingsListPage.tsx index 915d319..491a41a 100644 --- a/src/components/room-booking/list/BookingsListPage.tsx +++ b/src/components/room-booking/list/BookingsListPage.tsx @@ -5,6 +5,7 @@ import Tooltip from "@/components/common/Tooltip.tsx"; import { DeleteBookingModal } from "@/components/room-booking/list/DeleteBookingModal.tsx"; import { clockTime, durationFormatted, msBetween } from "@/lib/utils/dates.ts"; import { useQueryClient } from "@tanstack/react-query"; +import { Link } from "@tanstack/react-router"; import clsx from "clsx"; import React, { useMemo, useState } from "react"; @@ -106,6 +107,16 @@ export function BookingCard({ isPending ? "visible" : "invisible", )} > + + + + + +