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', { const { data } = await api.get<ActivitySummaryDto>('/activities/summary', {
params: { desk: 'mine' }, params: { desk: 'mine' },
}); });
activityBadge.value = (data.todayCount ?? 0) + (data.overdueCount ?? 0); activityBadge.value = data.todayCount ?? 0;
} catch { } catch {
activityBadge.value = 0; activityBadge.value = 0;
} }
@@ -693,7 +693,7 @@ async function loadRoutineBadge() {
if (!moduleAllowed('routines')) return; if (!moduleAllowed('routines')) return;
try { try {
const { data } = await api.get<{ remaining: number; overdue: number }>('/routine-tasks/badge'); const { data } = await api.get<{ remaining: number; overdue: number }>('/routine-tasks/badge');
routineBadge.value = data.remaining + data.overdue; routineBadge.value = data.remaining;
} catch { } catch {
routineBadge.value = 0; routineBadge.value = 0;
} }
+10 -1
View File
@@ -1463,7 +1463,16 @@ onUnmounted(() => {
</button> </button>
</div> </div>
<div data-tour="activities-board"> <div
data-tour="activities-board"
:style="{
position: 'relative',
flex: '1 1 auto',
minHeight: 0,
display: 'flex',
flexDirection: 'column',
}"
>
<ActivitiesKanban <ActivitiesKanban
v-if="viewMode === 'board'" v-if="viewMode === 'board'"
:stages="stages" :stages="stages"