Skip to content

Commit

Permalink
minor refactor of the condition for evergreen check in duration
Browse files Browse the repository at this point in the history
  • Loading branch information
therocket-gr committed Jan 15, 2025
1 parent da4b3a9 commit 6f8f865
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ export default function CampaignItemDetails( props: Props ) {
</span>
<span className="campaign-item-details__text wp-brand-font">
{ isLoading && <FlexibleSkeleton /> }
{ ! isLoading && is_evergreen && translate( 'Until stopped' ) }
{ ! isLoading && is_evergreen ? translate( 'Until stopped' ) : '' }
{ ! isLoading && ! is_evergreen && durationFormatted }
</span>
</div>
Expand Down

0 comments on commit 6f8f865

Please sign in to comment.