#157 - added the request class and improved the request parameters
This commit is contained in:
@@ -173,6 +173,6 @@ function unsetActiveDay() {
|
||||
}
|
||||
|
||||
function linkParameters(user, day) {
|
||||
return props.can.createOnBehalfOfEmployee ? { user: user.id, start_date: day.date } : { start_date: day.date }
|
||||
return props.can.createOnBehalfOfEmployee ? { user: user.id, from_date: day.date } : { from_date: day.date }
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user