From 3e12e746d155664229bd9a99c1eca2060f49abae Mon Sep 17 00:00:00 2001 From: bosko-m <88723596+bosko-m@users.noreply.github.com> Date: Fri, 25 Jul 2025 20:26:35 +0200 Subject: [PATCH] Update DashboardGovernanceActions.tsx - fetch proposals with voter status Signed-off-by: bosko-m <88723596+bosko-m@users.noreply.github.com> --- .../src/components/organisms/DashboardGovernanceActions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/govtool/frontend/src/components/organisms/DashboardGovernanceActions.tsx b/govtool/frontend/src/components/organisms/DashboardGovernanceActions.tsx index 878527c02..b720ec2f4 100644 --- a/govtool/frontend/src/components/organisms/DashboardGovernanceActions.tsx +++ b/govtool/frontend/src/components/organisms/DashboardGovernanceActions.tsx @@ -99,7 +99,7 @@ export const DashboardGovernanceActions = () => { filters: stableFilters, sorting: stableSorting, searchPhrase: debouncedSearchText, - enabled: true, + enabled: voter?.isRegisteredAsDRep || voter?.isRegisteredAsSoleVoter, }); const { data: votes, areDRepVotesLoading } = useGetDRepVotesQuery( queryFilters,