From 731f95d0b516b6fe9a9fdc79499839c56c61b8c6 Mon Sep 17 00:00:00 2001 From: deyvisonwanderley Date: Fri, 14 Nov 2025 11:42:51 -0300 Subject: [PATCH] refactor: update vacation scheduling button logic and UI - Modified the vacation scheduling button to enable/disable based on employee ID availability. - Improved user feedback with dynamic button titles reflecting the validation status of employee data. - Cleaned up the button's SVG structure for better readability and maintainability. --- .../routes/(dashboard)/perfil/+page.svelte | 50 +++++++++++-------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/apps/web/src/routes/(dashboard)/perfil/+page.svelte b/apps/web/src/routes/(dashboard)/perfil/+page.svelte index f11477c..5a40e31 100644 --- a/apps/web/src/routes/(dashboard)/perfil/+page.svelte +++ b/apps/web/src/routes/(dashboard)/perfil/+page.svelte @@ -1307,29 +1307,35 @@ class="flex flex-col items-start justify-between gap-4 md:flex-row md:items-center" >

Filtros

- {#if funcionario} - - {/if} + + + Agendar Férias +