Skip to content

Commit

Permalink
fix(zones): re-added force refetch to refresh the tables on form acti…
Browse files Browse the repository at this point in the history
…on (#5601)
  • Loading branch information
abuyukyi101198 authored Feb 4, 2025
1 parent de2c50a commit e45e5f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/zones/views/ZonesList/ZonesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ const ZonesList: React.FC = () => {

const closeForm = () => {
setSidePanelContent(null);
// useWebsocketAwareQuery filtering the invalidations prevents
// the hooks from causing a list update, this line forces it
void zonesCount.refetch();
};

let content = null;
Expand Down

0 comments on commit e45e5f4

Please sign in to comment.