Skip to content

Commit

Permalink
change tooltip names SH-201
Browse files Browse the repository at this point in the history
  • Loading branch information
v.trushin authored and vauweb committed Oct 29, 2024
1 parent b4a4bf6 commit 7bb2810
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ export const SelectMetricRow = memo(function _SelectMetricRow<T extends SelectOp
<Tooltip className="flex-grow-1 text-truncate" title={rows[index]?.value ?? `row ${index}`}>
{rows[index]?.value ?? `row ${index}`}
</Tooltip>
<Tooltip className="me-2" title={metricsFavorite[rows[index]?.value] ? 'remove favorite' : 'add favorite'}>
<Tooltip
className="me-2"
title={metricsFavorite[rows[index]?.value] ? 'remove from favorites' : 'add to favorites'}
>
<span className="text-primary" onClick={toggleFavorite}>
{metricsFavorite[rows[index]?.value] ? <SVGStarFill /> : <SVGStar />}
</span>
Expand Down

0 comments on commit 7bb2810

Please sign in to comment.