Skip to content

Commit 9854a97

Browse files
fix: metrics count
1 parent c11e997 commit 9854a97

File tree

1 file changed

+1
-6
lines changed
  • assets/src/dashboard/parts/connected/dashboard

1 file changed

+1
-6
lines changed

assets/src/dashboard/parts/connected/dashboard/index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,7 @@ const Dashboard = () => {
147147
Math.floor( Math.random() * 40 ) + 10;
148148
}
149149

150-
// Format based on metric type
151-
if ( 'saved_size' === metric ) {
152-
return Math.floor( Math.random() * 2500 ) + 500;
153-
}
154-
155-
return Math.floor( Math.random() * 40 ) + 10;
150+
return metricValue;
156151
};
157152

158153
const formatMetricValue = metric => {

0 commit comments

Comments
 (0)