mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
f1d520bbc2
The server has returned comp_used since the leave type landed, but nothing showed it — comp days simply vanished from the sidebar. They now sit beside the tiles rather than inside the used/left arithmetic, which is the point of them. Carry-over is labelled from the window the server counted that row over, not from the viewer's own setting, so a fused plan with mixed leave years does not tell one member their days came "from 2025" when they came from a period that started in July. The card also folds now. It is the longest thing in the sidebar once several people are fused in, and the state belongs to the person looking at it, so it lives in localStorage rather than on the plan.