X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fepisodes%2FItem.js;h=3545e7734586a1f3006ad761621df9061fb15d10;hb=be4ba270ffdcc484c3502c74a01872a9d8a68175;hp=c911bc3b6e1f54e3ff15d09ceb76de4abbccefd0;hpb=5a575dc29f3af10f1d8e142ff9e1c6ccdfa3b075;p=alttp.git
diff --git a/resources/js/components/episodes/Item.js b/resources/js/components/episodes/Item.js
index c911bc3..3545e77 100644
--- a/resources/js/components/episodes/Item.js
+++ b/resources/js/components/episodes/Item.js
@@ -26,7 +26,7 @@ const Item = ({ episode, onAddRestream, onApply, onEditRestream, user }) => {
const classNames = [
'episodes-item',
'd-flex',
- 'align-items-start',
+ 'align-items-stretch',
'my-3',
'p-2',
'border',
@@ -52,7 +52,7 @@ const Item = ({ episode, onAddRestream, onApply, onEditRestream, user }) => {
{t('schedule.startTime', { date: new Date(episode.start) })}
-
+
{episode.title ?
@@ -60,9 +60,9 @@ const Item = ({ episode, onAddRestream, onApply, onEditRestream, user }) => {
{episode.title}
: null}
- {episode.event ?
-
- {episode.event.title}
+ {episode.comment ?
+
+ {episode.comment}
: null}
@@ -96,7 +96,14 @@ const Item = ({ episode, onAddRestream, onApply, onEditRestream, user }) => {
{(episode.crew && episode.crew.length)
|| canApplyForEpisode(user, episode, 'commentary')
|| canApplyForEpisode(user, episode, 'tracking') ?
-
+
+
+
+ : null}
+ {episode.event ?
+
+ {episode.event.title}
+
: null}
;
@@ -106,6 +113,7 @@ Item.propTypes = {
episode: PropTypes.shape({
channels: PropTypes.arrayOf(PropTypes.shape({
})),
+ comment: PropTypes.string,
crew: PropTypes.arrayOf(PropTypes.shape({
})),
event: PropTypes.shape({