Fix build errors: localization syntax, key paths, and ViewOrderCard widget
This commit is contained in:
@@ -151,10 +151,12 @@ class CoverageRepositoryImpl implements CoverageRepository {
|
||||
shiftId: app.shiftId,
|
||||
roleId: app.roleId,
|
||||
title: app.shiftRole.role.name,
|
||||
location: app.shiftRole.shift.location ?? '',
|
||||
startTime: '00:00',
|
||||
workersNeeded: 0,
|
||||
date: date,
|
||||
location: app.shiftRole.shift.location ??
|
||||
app.shiftRole.shift.locationAddress ??
|
||||
'',
|
||||
startTime: _formatTime(app.shiftRole.startTime) ?? '00:00',
|
||||
workersNeeded: app.shiftRole.count,
|
||||
date: app.shiftRole.shift.date?.toDateTime() ?? date,
|
||||
workers: <CoverageWorker>[],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user