X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=inline;f=resources%2Fjs%2Fcomponents%2Fepisodes%2FList.js;h=a28fa4848968b9e2fa2a455cec44c55b7b74a8c9;hb=638802eaf20d636c16d7ce337ace508708705f2c;hp=d4e73b51b2711559def11f2d670a036d505b5325;hpb=dec43db11e9433f5bfcfaa091518082559cb3169;p=alttp.git diff --git a/resources/js/components/episodes/List.js b/resources/js/components/episodes/List.js index d4e73b5..a28fa48 100644 --- a/resources/js/components/episodes/List.js +++ b/resources/js/components/episodes/List.js @@ -4,7 +4,7 @@ import React from 'react'; import Item from './Item'; -const List = ({ episodes }) => { +const List = ({ episodes, onAddRestream, onEditRestream }) => { const grouped = React.useMemo(() => episodes.reduce((groups, episode) => { const day = moment(episode.start).format('YYYY-MM-DD'); return { @@ -20,7 +20,12 @@ const List = ({ episodes }) => { {Object.entries(grouped).map(([day, group]) =>