* Push Notification Setup and attempt
* Office Ordering * Allow editing of Task and Ticket Details after creation
This commit is contained in:
@@ -163,9 +163,13 @@ class _TeamsScreenState extends ConsumerState<TeamsScreen> {
|
||||
TasQColumn<Team>(
|
||||
header: 'Offices',
|
||||
cellBuilder: (context, team) {
|
||||
final officeNames = team.officeIds
|
||||
final officeNamesList = team.officeIds
|
||||
.map((id) => officeById[id]?.name ?? id)
|
||||
.join(', ');
|
||||
.toList();
|
||||
officeNamesList.sort(
|
||||
(a, b) => a.toLowerCase().compareTo(b.toLowerCase()),
|
||||
);
|
||||
final officeNames = officeNamesList.join(', ');
|
||||
return Text(officeNames);
|
||||
},
|
||||
),
|
||||
@@ -182,9 +186,13 @@ class _TeamsScreenState extends ConsumerState<TeamsScreen> {
|
||||
],
|
||||
mobileTileBuilder: (context, team, actions) {
|
||||
final leader = profileById[team.leaderId];
|
||||
final officeNames = team.officeIds
|
||||
final officeNamesList = team.officeIds
|
||||
.map((id) => officeById[id]?.name ?? id)
|
||||
.join(', ');
|
||||
.toList();
|
||||
officeNamesList.sort(
|
||||
(a, b) => a.toLowerCase().compareTo(b.toLowerCase()),
|
||||
);
|
||||
final officeNames = officeNamesList.join(', ');
|
||||
final members = team.members(teamMembers);
|
||||
final memberNames = members
|
||||
.map((id) => profileById[id]?.fullName ?? id)
|
||||
|
||||
Reference in New Issue
Block a user