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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user