feat: refs #8304 added remove option to operator #1195

Merged
jtubau merged 27 commits from 8304-workerChangesAndFixes into dev 2025-02-05 12:25:27 +00:00
1 changed files with 12 additions and 11 deletions
Showing only changes of commit 686bacd38a - Show all commits

View File

@ -181,16 +181,18 @@ watch([year, businessFk], () => refreshData());
ref="WorkerFreelanceRef"
auto-load
/>
<Teleport to="#right-panel" v-if="stateStore.isHeaderMounted()">
<WorkerCalendarFilter
ref="workerCalendarFilterRef"
v-model:business-fk="businessFk"
v-model:year="year"
v-model:absence-type="absenceType"
:contract-holidays="contractHolidays"
:year-holidays="yearHolidays"
/>
</Teleport>
<RightMenu>
jtubau marked this conversation as resolved Outdated

Tengo dudas de si Teleport es mejor opción que RightMenu
Cual es la motivación de cambiarlo? El v-if?
PEgale un vistazo a este commit 58b8b2f7b0

Tengo dudas de si Teleport es mejor opción que RightMenu Cual es la motivación de cambiarlo? El v-if? PEgale un vistazo a este commit https://gitea.verdnatura.es/verdnatura/salix-front/commit/58b8b2f7b03fc7bc2f1ce76d11ee107179d5fc2c
<template #right-panel>
<WorkerCalendarFilter
ref="workerCalendarFilterRef"
v-model:business-fk="businessFk"
v-model:year="year"
v-model:absence-type="absenceType"
:contract-holidays="contractHolidays"
:year-holidays="yearHolidays"
/>
</template>
</RightMenu>
<Teleport to="#st-default" v-if="stateStore.isSubToolbarShown()">
<VnNotes
v-if="canSeeNotes"
@ -251,7 +253,6 @@ watch([year, businessFk], () => refreshData());
}
</style>
<i18n>
en:
addAbsencesText: To start adding absences, click an absence type from the right menu and then on the day you want to add an absence