Skip to content

Commit ca4a003

Browse files
authored
fix bug in Statistics.tsx when requests count equals zero (#105)
* fix bug in Statistics.tsx when requests count equals zero
1 parent 5539e93 commit ca4a003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/panel/statistics/Statistics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const Statistics: React.FC<StatisticsProps> = ({
5656
) : null;
5757

5858
var errorRate =
59-
selectionStatistics.requests >= 0 && selectionStatistics.errors >= 0 ? (
59+
selectionStatistics.requests > 0 && selectionStatistics.errors >= 0 ? (
6060
<tr ng-show="">
6161
<td className="table--td--selection">Error Rate</td>
6262
<td className="table--td--selection">

0 commit comments

Comments
 (0)