fix(leave) : refresh header présence on phase switch; document gap limitation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -106,11 +106,14 @@ export const useEmployeeDetailPage = () => {
|
||||
if (!showRttTab.value && activeTab.value === 'rtt') {
|
||||
activeTab.value = 'leave'
|
||||
}
|
||||
// Recharger l'onglet courant
|
||||
// Recharger l'onglet courant ; sinon recharger quand même le récap congés
|
||||
// pour que le libellé de présence / jours à travailler du header reste à jour.
|
||||
if (activeTab.value === 'leave' && showLeaveTab.value) {
|
||||
leave.loadLeaveData()
|
||||
} else if (activeTab.value === 'rtt' && showRttTab.value) {
|
||||
rtt.loadRttData()
|
||||
} else if (showLeaveTab.value) {
|
||||
leave.loadLeaveData()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user