Skip to content

Commit

Permalink
feat: add today icon to vod items
Browse files Browse the repository at this point in the history
  • Loading branch information
RCVZ authored and ChristiaanScheermeijer committed Jun 1, 2023
1 parent dc3bf41 commit 6a681ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/StatusIcon/StatusIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Props = {
export default function StatusIcon({ mediaStatus }: Props) {
const { t } = useTranslation('video');

if (mediaStatus === MediaStatus.SCHEDULED) {
if (mediaStatus === MediaStatus.SCHEDULED || mediaStatus === MediaStatus.VOD) {
return <Today />;
} else if (mediaStatus === MediaStatus.LIVE) {
return <Tag isLive>{t('live')}</Tag>;
Expand Down

0 comments on commit 6a681ce

Please sign in to comment.