We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa0833 commit 1375d90Copy full SHA for 1375d90
src/services/WorkPeriodService.js
@@ -113,7 +113,7 @@ async function _checkUserPermissionForWriteWorkPeriod (currentUser) {
113
* Checks if one of the date is missing and autocalculates it.
114
* @param {Object} data workPeriod data object
115
*/
116
-async function _autoCalculateDates (data) {
+function _autoCalculateDates (data) {
117
if (data.startDate && !data.endDate) {
118
const date = new Date(data.startDate)
119
date.setDate(date.getDate() + 6)
0 commit comments