Fix task and shift self-assignment features
CI Pipeline / Backend Build & Test (pull_request) Successful in 48s
CI Pipeline / Frontend Lint, Test & Build (pull_request) Failing after 28s
CI Pipeline / Infrastructure Validation (pull_request) Successful in 4s

This commit is contained in:
WorkClub Automation
2026-03-09 15:47:57 +01:00
parent 271b3c189c
commit 672dec5f21
17 changed files with 400 additions and 62 deletions
@@ -51,6 +51,7 @@ describe('ShiftDetailPage', () => {
endTime: new Date(Date.now() + 200000).toISOString(),
capacity: 3,
signups: [{ id: 's1', memberId: 'other-user' }],
isSignedUp: false,
},
isLoading: false,
});
@@ -77,6 +78,7 @@ describe('ShiftDetailPage', () => {
endTime: new Date(Date.now() + 200000).toISOString(),
capacity: 3,
signups: [{ id: 's1', memberId: 'user-123' }],
isSignedUp: true,
},
isLoading: false,
});
@@ -103,6 +105,7 @@ describe('ShiftDetailPage', () => {
endTime: new Date(Date.now() + 200000).toISOString(),
capacity: 3,
signups: [],
isSignedUp: false,
},
isLoading: false,
});