From ddd333e64a2a560ebf763cbf3305bfa064d5e955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi?= Date: Sat, 4 Jan 2025 18:53:51 +0100 Subject: [PATCH] feat: disable button in RoomCard based on start time and refine date comparison in RoomTable --- src/app/components/Room/Card.tsx | 6 +++++- src/app/components/Room/Table.tsx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/components/Room/Card.tsx b/src/app/components/Room/Card.tsx index 57ed1b7..69866de 100644 --- a/src/app/components/Room/Card.tsx +++ b/src/app/components/Room/Card.tsx @@ -70,7 +70,11 @@ export const RoomCard = ({ id, name, date, Times, Presentator }: Room) => { {moment(date).dayOfYear() === moment().dayOfYear() && (