bug fixes, vyskakovacie okno v kalendari

This commit is contained in:
romankko2 committed 2023-06-08 17:29:55 +02:00
1 parent 955fdaf087
commit b5cc4bb977
10 files changed
+77 -11

No files matched your search

@@ -37,7 +37,7 @@ export default {
validations() {
return {
form: {
hours: {required, numeric, minValue: minValue(1)}
hours: {required, numeric, minValue: minValue(0.1)}
}
}
},
@@ -57,7 +57,7 @@ export default {
this.subtask.timesheets.push({
id: null,
employee_id: this.subtask.employee_id,
time: typeof this.form.hours == 'string' ? parseInt(this.form.hours) : this.form.hours
time: typeof this.form.hours == 'string' ? parseFloat(this.form.hours) : this.form.hours
})
try {