From 89d6ad71d9feacb34dbb199b7b895a902c07430c Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Sun, 22 Sep 2024 04:02:23 +0300 Subject: [PATCH] Add language and event type classes to event cells --- src/hooks/useScheduleTable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/useScheduleTable.js b/src/hooks/useScheduleTable.js index d59f8d8..a991881 100644 --- a/src/hooks/useScheduleTable.js +++ b/src/hooks/useScheduleTable.js @@ -14,6 +14,7 @@ export default function useScheduleTable({ cells: [{ id: 1, attributes: { + className: 'schedule-'.concat(event.language).concat(' ').concat(event.track.css_class), colSpan: 2, }, event,