refactor: refs #8304 replace Teleport with RightMenu for WorkerCalendarFilter component
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
6601e2e0ae
commit
686bacd38a
|
@ -181,16 +181,18 @@ watch([year, businessFk], () => refreshData());
|
||||||
ref="WorkerFreelanceRef"
|
ref="WorkerFreelanceRef"
|
||||||
auto-load
|
auto-load
|
||||||
/>
|
/>
|
||||||
<Teleport to="#right-panel" v-if="stateStore.isHeaderMounted()">
|
<RightMenu>
|
||||||
<WorkerCalendarFilter
|
<template #right-panel>
|
||||||
ref="workerCalendarFilterRef"
|
<WorkerCalendarFilter
|
||||||
v-model:business-fk="businessFk"
|
ref="workerCalendarFilterRef"
|
||||||
v-model:year="year"
|
v-model:business-fk="businessFk"
|
||||||
v-model:absence-type="absenceType"
|
v-model:year="year"
|
||||||
:contract-holidays="contractHolidays"
|
v-model:absence-type="absenceType"
|
||||||
:year-holidays="yearHolidays"
|
:contract-holidays="contractHolidays"
|
||||||
/>
|
:year-holidays="yearHolidays"
|
||||||
</Teleport>
|
/>
|
||||||
|
</template>
|
||||||
|
</RightMenu>
|
||||||
<Teleport to="#st-default" v-if="stateStore.isSubToolbarShown()">
|
<Teleport to="#st-default" v-if="stateStore.isSubToolbarShown()">
|
||||||
<VnNotes
|
<VnNotes
|
||||||
v-if="canSeeNotes"
|
v-if="canSeeNotes"
|
||||||
|
@ -251,7 +253,6 @@ watch([year, businessFk], () => refreshData());
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
en:
|
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
|
addAbsencesText: To start adding absences, click an absence type from the right menu and then on the day you want to add an absence
|
||||||
|
|
Loading…
Reference in New Issue