Fixed Dashboard full page refresh

This commit is contained in:
2026-02-18 23:37:21 +08:00
parent 5ec57a1cec
commit f9f3509188
7 changed files with 118 additions and 43 deletions
+2 -1
View File
@@ -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();
}