Fixed Dashboard full page refresh
This commit is contained in:
@@ -404,7 +404,8 @@ class _TicketsListScreenState extends ConsumerState<TicketsListScreen> {
|
||||
description: description,
|
||||
officeId: selectedOffice!.id,
|
||||
);
|
||||
ref.invalidate(ticketsProvider);
|
||||
// Supabase stream will emit the new ticket — no explicit
|
||||
// invalidation required and avoids a temporary reload.
|
||||
if (context.mounted) {
|
||||
Navigator.of(dialogContext).pop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user