Skip to content

Commit

Permalink
update incorrect icon
Browse files Browse the repository at this point in the history
  • Loading branch information
rbi-aap committed Aug 30, 2024
1 parent d326f8d commit abe2ad0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions assets/components/cards/render/CardMeta.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import PropTypes from 'prop-types';
import {isEmpty} from 'lodash';
import { gettext, shortDate, fullDate } from 'utils';
import {gettext, shortDate, fullDate} from 'utils';

function CardMeta({wordCount, pictureAvailable, source, versioncreated, displayDivider, slugline ,audio, video}) {
function CardMeta({wordCount, pictureAvailable, source, versioncreated, displayDivider, slugline, audio, video}) {
return (<div className="wire-articles__item__meta">
<div className="wire-articles__item__icons">
<span className="wire-articles__item__icon">
Expand All @@ -15,12 +15,13 @@ function CardMeta({wordCount, pictureAvailable, source, versioncreated, displayD
</span>}
{!isEmpty(audio) &&
<span className='wire-articles__item__icon'>
<i className='icon--video icon--gray-light'></i>
<i className='icon--audio icon--gray-light'></i>

</span>
}
{!isEmpty(video) &&
<span className='wire-articles__item__icon'>
<i className='icon--audio icon--gray-light'></i>
<i className='icon--video icon--gray-light'></i>
</span>
}
{displayDivider && <span className='wire-articles__item__divider'></span>}
Expand Down

0 comments on commit abe2ad0

Please sign in to comment.