Skip to content

Commit 404ca79

Browse files
authored
fix(starfish): Use abs value (#47899)
fixes this thing ![Screenshot 2023-04-25 at 11 55 06 AM](https://user-images.githubusercontent.com/63818634/234334208-ceeb00e0-f0c3-406d-9b1f-a565d59eb424.png)
1 parent d50cfed commit 404ca79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/views/starfish/views/webServiceView/endpointList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class EndpointList extends Component<Props, State> {
147147
<TrendingDuration trendDirection={trendDirection}>
148148
{tct('([sign][delta])', {
149149
sign: deltaValue >= 0 ? '+' : '-',
150-
delta: formatPercentage(deltaValue, 2),
150+
delta: formatPercentage(Math.abs(deltaValue), 2),
151151
})}
152152
</TrendingDuration>
153153
</NumberContainer>

0 commit comments

Comments
 (0)