@@ -347,11 +363,11 @@ export default function GeneralInfoTab({
showLinksToRegisterPage
/>
- { competition['is_probably_over?']
+ {competition['is_probably_over?']
&& (
-
+
)}
>
) : (
@@ -375,7 +391,7 @@ export default function GeneralInfoTab({
{I18n.t('competitions.competition_info.hide_highlights')}
- {competition.main_event_id && }
+ {competition.main_event_id && }
{records && }
diff --git a/app/webpacker/components/CompetitionTabs/index.jsx b/app/webpacker/components/CompetitionTabs/index.jsx
index 6a25edd465..9796808ce6 100644
--- a/app/webpacker/components/CompetitionTabs/index.jsx
+++ b/app/webpacker/components/CompetitionTabs/index.jsx
@@ -28,7 +28,7 @@ const tabIndexFromSlug = (panes) => {
};
export default function Wrapper({
- tabs, competition, wcifEvents, wcifSchedule, locale, userInfo, records, winners,
+ tabs, competition, wcifEvents, wcifSchedule, locale, userInfo, records, winners, media,
}) {
const panes = useMemo(() => {
const p = [{
@@ -40,6 +40,7 @@ export default function Wrapper({
userInfo={userInfo}
records={records}
winners={winners}
+ media={media}
/>
),
}];