Skip to content

Commit

Permalink
refactor: Correct upload and download measurements in StarttestPage
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Lopez committed Nov 13, 2024
1 parent 3d810a6 commit 67c1e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/starttest/starttest.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ export class StarttestPage implements OnInit {
this.currentState = 'Completed';
this.currentDate = new Date();
this.currentRate = data.passedResults['NDTResult.S2C'].LastClientMeasurement.MeanClientMbps?.toFixed(2);
this.currentRateUpload = data.passedResults['NDTResult.S2C'].LastClientMeasurement.MeanClientMbps?.toFixed(2);
this.currentRateDownload = data.passedResults['NDTResult.C2S'].LastClientMeasurement.MeanClientMbps?.toFixed(2);
this.currentRateUpload = data.passedResults['NDTResult.C2S'].LastClientMeasurement.MeanClientMbps?.toFixed(2);
this.currentRateDownload = data.passedResults['NDTResult.S2C'].LastClientMeasurement.MeanClientMbps?.toFixed(2);
this.progressGaugeState.current = this.progressGaugeState.maximum;
this.latency = ((data.passedResults['NDTResult.S2C'].LastServerMeasurement.BBRInfo.MinRTT +
data.passedResults['NDTResult.C2S'].LastServerMeasurement.BBRInfo.MinRTT) / 2 / 1000).toFixed(0);
Expand Down

0 comments on commit 67c1e38

Please sign in to comment.