Commit c4cfc04
committed
Fix absence declaration to close modal before opening form
Moved onClose() to the start of handleDeclareAbsenceClick to ensure the modal is closed before opening the input form. Also adjusted logic to set selectedDate if not already set.1 parent 63c0ce2 commit c4cfc04
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
283 | | - | |
| 285 | + | |
| 286 | + | |
284 | 287 | | |
| 288 | + | |
| 289 | + | |
285 | 290 | | |
286 | 291 | | |
287 | 292 | | |
| |||
0 commit comments