Skip to content

Commit

Permalink
fix: erroneous booleans in feature tooltip (#3219)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Dec 22, 2023
1 parent 68a1c6c commit 3758d33
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions frontend/web/components/FeatureRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,13 @@ class TheComponent extends Component {
</span>
}
>
{`${isCompact && `${description}<br/>`}Created ${moment(
created_date,
).format('Do MMM YYYY HH:mma')}`}
{isCompact && description
? `${description}<br/>Created ${moment(
created_date,
).format('Do MMM YYYY HH:mma')}`
: `Created ${moment(created_date).format(
'Do MMM YYYY HH:mma',
)}`}
</Tooltip>
) : (
name
Expand Down

3 comments on commit 3758d33

@vercel
Copy link

@vercel vercel bot commented on 3758d33 Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3758d33 Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3758d33 Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-flagsmith.vercel.app
docs-flagsmith.vercel.app
docs.flagsmith.com
docs.bullet-train.io

Please sign in to comment.