From 16bf08bb5cd6118704346f642a491d37c998ef54 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Wed, 22 Feb 2023 16:49:12 +0100 Subject: [PATCH] sticky schedule group headings --- resources/js/components/episodes/List.js | 4 +++- resources/sass/episodes.scss | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/resources/js/components/episodes/List.js b/resources/js/components/episodes/List.js index a28fa48..6f46e75 100644 --- a/resources/js/components/episodes/List.js +++ b/resources/js/components/episodes/List.js @@ -18,7 +18,9 @@ const List = ({ episodes, onAddRestream, onEditRestream }) => { return
{Object.entries(grouped).map(([day, group]) =>
-

{moment(day).format('dddd, L')}

+

+ {moment(day).format('dddd, L')} +

{group.map(episode =>