diff --git a/src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentWeather.vue b/src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentWeather.vue index 692b8f47..fb9a9d02 100644 --- a/src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentWeather.vue +++ b/src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentWeather.vue @@ -220,6 +220,10 @@ const getWeather = async () => { } }; +const decimalRound = (value, precision) => { + return Number(value.toFixed(precision)); +}; + watch( () => [props.department_ids, props.date_from, props.date_to], () => { @@ -231,6 +235,7 @@ watch( } ); +