Offline rediness
This commit is contained in:
@@ -961,7 +961,10 @@ class _TasksListScreenState extends ConsumerState<TasksListScreen>
|
||||
b.name.toLowerCase(),
|
||||
),
|
||||
);
|
||||
selectedOfficeId ??= officesSorted.first.id;
|
||||
if (selectedOfficeId == null ||
|
||||
!officesSorted.any((o) => o.id == selectedOfficeId)) {
|
||||
selectedOfficeId = officesSorted.first.id;
|
||||
}
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user