Skip to content

Commit

Permalink
EPMRPP-89534 || Code Review fix - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazarQSO committed May 21, 2024
1 parent c43f85f commit 2900a1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/pages/inside/common/itemInfo/itemInfo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class ItemInfo extends Component {
withPreloader
/>
))}
{startTime && (
{!!startTime && (
<span className={cx('duration-block')}>
<DurationBlock
type={value.type}
Expand All @@ -230,7 +230,7 @@ export class ItemInfo extends Component {
/>
</span>
)}
{startTime && <div className={cx('mobile-start-time')}>{fromNowFormat(startTime)}</div>}
{!!startTime && <div className={cx('mobile-start-time')}>{fromNowFormat(startTime)}</div>}
{value.hasRetries && (
<div className={cx('retry-icon')} title={intl.formatMessage(messages.retryTooltip)}>
{Parser(RetryIcon)}
Expand Down

0 comments on commit 2900a1d

Please sign in to comment.