UI Enhancements in IT Service Request, Announcements, Workforce and notification fixes
This commit is contained in:
@@ -203,24 +203,29 @@ class _SchedulePanel extends ConsumerWidget {
|
||||
?.copyWith(fontWeight: FontWeight.w700),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
...items.map(
|
||||
(schedule) => _ScheduleTile(
|
||||
schedule: schedule,
|
||||
displayName: _scheduleName(
|
||||
profileById,
|
||||
schedule,
|
||||
isAdmin,
|
||||
rotationConfig,
|
||||
for (int i = 0; i < items.length; i++)
|
||||
M3FadeSlideIn(
|
||||
delay: Duration(milliseconds: i * 40),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 8),
|
||||
child: _ScheduleTile(
|
||||
schedule: items[i],
|
||||
displayName: _scheduleName(
|
||||
profileById,
|
||||
items[i],
|
||||
isAdmin,
|
||||
rotationConfig,
|
||||
),
|
||||
relieverLabels: _relieverLabelsFromIds(
|
||||
items[i].relieverIds,
|
||||
profileById,
|
||||
),
|
||||
isMine: items[i].userId == currentUserId,
|
||||
isAdmin: isAdmin,
|
||||
role: profileById[items[i].userId]?.role,
|
||||
),
|
||||
),
|
||||
relieverLabels: _relieverLabelsFromIds(
|
||||
schedule.relieverIds,
|
||||
profileById,
|
||||
),
|
||||
isMine: schedule.userId == currentUserId,
|
||||
isAdmin: isAdmin,
|
||||
role: profileById[schedule.userId]?.role,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user