We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 277e837 commit 6a61109Copy full SHA for 6a61109
static/app/views/issueDetails/groupTags/tagDistribution.tsx
@@ -34,9 +34,7 @@ export function TagDistribution({tag}: {tag: GroupTag}) {
34
<TagValueContent>
35
{visibleTagValues.map((tagValue, tagValueIdx) => {
36
const percentage = Math.round(percent(tagValue.count, tag.totalValues));
37
- const isZero = tagValue.count === 0;
38
- const displayPercentage =
39
- percentage < 1 && !isZero ? '<1%' : `${percentage.toFixed(0)}%`;
+ const displayPercentage = percentage < 1 ? '<1%' : `${percentage.toFixed(0)}%`;
40
return (
41
<TagValueRow key={tagValueIdx}>
42
<Tooltip delay={300} title={tagValue.name} skipWrapper>
0 commit comments