Skip to content

Commit

Permalink
Fix filters and caps
Browse files Browse the repository at this point in the history
  • Loading branch information
DeD1rk committed Sep 5, 2023
1 parent b78c78f commit 9576227
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions lib/blocs/event_admin_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,12 @@ class EventAdminCubit extends Cubit<EventAdminState> {
search: query,
limit: 999999999,
cancelled: true,
queued: false,
ordering: '-date_cancelled',
);
final queuedRegistrations = await api.getAdminEventRegistrations(
pk: eventPk,
search: query,
limit: 999999999,
cancelled: false,
queued: true,
ordering: 'queue_position',
);
Expand Down Expand Up @@ -187,14 +185,12 @@ class EventAdminCubit extends Cubit<EventAdminState> {
search: query,
limit: 999999999,
cancelled: true,
queued: false,
ordering: '-date_cancelled',
);
final queuedRegistrations = await api.getAdminEventRegistrations(
pk: eventPk,
search: query,
limit: 999999999,
cancelled: false,
queued: true,
ordering: 'queue_position',
);
Expand Down
6 changes: 3 additions & 3 deletions lib/ui/screens/event_admin_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class _EventAdminScreenState extends State<EventAdminScreen> {
bottom: TabBar(
indicatorColor: Theme.of(context).colorScheme.primary,
tabs: const [
Tab(text: 'QUEUED'),
Tab(text: 'REGISTERED'),
Tab(text: 'CANCELLED'),
Tab(text: 'Queued'),
Tab(text: 'Registered'),
Tab(text: 'Cancelled'),
],
),
),
Expand Down

0 comments on commit 9576227

Please sign in to comment.