saeid 2 years ago
parent ff9ff32243
commit f6aebefc4d

@ -153,7 +153,9 @@ export default {
search: null, search: null,
isLoading: false, isLoading: false,
isLoadingTimeout: null, isLoadingTimeout: null,
form: {}, form: {
estimate_time: null
},
workoutId: null, workoutId: null,
selectedWorkout: {}, selectedWorkout: {},
}), }),
@ -195,7 +197,7 @@ export default {
this.selectedWorkout = response; this.selectedWorkout = response;
this.form["set"] = response.suggested_set; this.form["set"] = response.suggested_set;
this.form["per_set"] = response.suggested_per_set; this.form["per_set"] = response.suggested_per_set;
this.form["estimate_time"] = response.suggested_time; this.form.estimate_time = response.suggested_time;
}, },
async WorkoutToSeries() { async WorkoutToSeries() {
if (this.workoutId) { if (this.workoutId) {

Loading…
Cancel
Save