fix(web): show today-only nav badges and restore activities board height.

Nav activity/routine badges no longer include overdue, and the desk board wrapper gets the flex fill chain so columns render.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-12-01 16:02:27 +03:30
co-authored by Cursor
parent 5296429e62
commit fb74a05cb0
2 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -683,7 +683,7 @@ async function loadActivityBadge() {
const { data } = await api.get<ActivitySummaryDto>('/activities/summary', {
params: { desk: 'mine' },
});
activityBadge.value = (data.todayCount ?? 0) + (data.overdueCount ?? 0);
activityBadge.value = data.todayCount ?? 0;
} catch {
activityBadge.value = 0;
}
@@ -693,7 +693,7 @@ async function loadRoutineBadge() {
if (!moduleAllowed('routines')) return;
try {
const { data } = await api.get<{ remaining: number; overdue: number }>('/routine-tasks/badge');
routineBadge.value = data.remaining + data.overdue;
routineBadge.value = data.remaining;
} catch {
routineBadge.value = 0;
}