Skip to content

Commit

Permalink
fix: altspeed value
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaan committed Apr 9, 2021
1 parent 80573f4 commit aadb3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/Status.js
Expand Up @@ -19,7 +19,7 @@ export default class Status {
this.dlspeed = dl_info_speed || 0
this.upspeed = up_info_speed || 0
this.freeDiskSpace = free_space_on_disk || previous.freeDiskSpace
this.altSpeed = use_alt_speed_limits || previous.altSpeed
this.altSpeed = use_alt_speed_limits !== undefined ? use_alt_speed_limits : previous.altSpeed
this.dlspeedRaw = this.formatSpeed(dl_info_speed) || 0
this.upspeedRaw = this.formatSpeed(up_info_speed) || 0
Object.freeze(this)
Expand Down

0 comments on commit aadb3f2

Please sign in to comment.