WorkerCalendar #270

Merged
alexm merged 37 commits from :WorkerCalendar into dev 2024-04-16 12:26:20 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 0941d74d52 - Show all commits

View File

@ -57,7 +57,7 @@ const generateYears = () => {
const now = Date.vnNew();
const maxYear = now.getFullYear() + 1;
return Array.from({ length: 5 }, (_, i) => String(maxYear - i));
return Array.from({ length: 5 }, (_, i) => String(maxYear - i)) || [];
};
const absenceTypeList = ref([]);
@ -142,7 +142,7 @@ const yearList = ref(generateYears());
<VnSelectFilter
:label="t('Year')"
v-model="selectedYear"
:options="yearList || []"
:options="yearList"
jsegarra marked this conversation as resolved Outdated

valor por defecto puede ir en la declaracion?

valor por defecto puede ir en la declaracion?

Valores por default movidos.

Commit: 0941d74d52

Valores por default movidos. Commit: https://gitea.verdnatura.es/verdnatura/salix-front/commit/0941d74d528fa910df2061f2f5782c83621ff8e9
dense
outlined
rounded
@ -156,7 +156,7 @@ const yearList = ref(generateYears());
<VnSelectFilter
:label="t('Contract')"
v-model="selectedBusinessFk"
:options="contractList || []"
:options="contractList"
option-value="businessFk"
option-label="businessFk"
dense