Skip to content

Commit

Permalink
floor the fill duration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Dec 4, 2019
1 parent 537ff8c commit 99972a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/components/request.vue
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
if ('largest_interval' in this.duration_data) {
let config_duration = this.duration_data.configurations[configId].duration;
let available_time = this.duration_data.largest_interval - this.duration_data.duration + config_duration;
this.request.configurations[configId].repeat_duration = available_time - 1;
this.request.configurations[configId].repeat_duration = Math.floor(available_time) - 1;
this.update();
}
},
Expand Down

0 comments on commit 99972a3

Please sign in to comment.