Merge pull request 'Hotfix: WorkerTimeControlSendEmail' (!1107) from Hotfix-WorkerTimeControlSendEmail into master
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
Reviewed-on: #1107 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
6aac98ed72
|
@ -381,7 +381,7 @@ const isUnsatisfied = async (reason) => {
|
||||||
|
|
||||||
const resendEmail = async () => {
|
const resendEmail = async () => {
|
||||||
const params = {
|
const params = {
|
||||||
recipient: worker.value?.user?.email,
|
recipient: worker.value[0]?.user?.emailUser?.email,
|
||||||
week: selectedWeekNumber.value,
|
week: selectedWeekNumber.value,
|
||||||
year: selectedDate.value.getFullYear(),
|
year: selectedDate.value.getFullYear(),
|
||||||
workerId: Number(route.params.id),
|
workerId: Number(route.params.id),
|
||||||
|
|
Loading…
Reference in New Issue