diff --git a/src/pages/Worker/Card/WorkerTimeControl.vue b/src/pages/Worker/Card/WorkerTimeControl.vue index 65fbf4b43..faa5a2c95 100644 --- a/src/pages/Worker/Card/WorkerTimeControl.vue +++ b/src/pages/Worker/Card/WorkerTimeControl.vue @@ -63,7 +63,7 @@ const selectedCalendarDates = ref([]); // Date formateada para bindear al componente QDate const selectedDateFormatted = ref(toDateString(defaultDate.value)); -const arrayData = useArrayData('workerData'); +const arrayData = useArrayData('Worker'); const acl = useAcl(); const selectedDateYear = computed(() => moment(selectedDate.value).isoWeekYear()); const worker = computed(() => arrayData.store?.data);