Skip to content

Commit

Permalink
Adding or removing gateway shows up instantly in list page
Browse files Browse the repository at this point in the history
  • Loading branch information
Elson9 committed Jul 4, 2024
1 parent a1a840b commit d4613f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/nextapp/pages/manager/gateways/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ const MyGatewaysPage: React.FC = () => {
const { data, isLoading, isSuccess, isError } = useApi(
'allNamespaces',
{ query },
{ suspense: false }
{
suspense: false,
refetchOnWindowFocus: true,
refetchOnReconnect: true,
}
);

// External links
Expand Down

0 comments on commit d4613f7

Please sign in to comment.