Skip to content

Commit f9aaa39

Browse files
authored
Merge pull request #3965 from IntersectMBO/3918-fetch-proposals-with-voter-status
Update DashboardGovernanceActions.tsx - fetch proposals with voter st…
2 parents a5ce62b + 3e12e74 commit f9aaa39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

govtool/frontend/src/components/organisms/DashboardGovernanceActions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const DashboardGovernanceActions = () => {
9999
filters: stableFilters,
100100
sorting: stableSorting,
101101
searchPhrase: debouncedSearchText,
102-
enabled: true,
102+
enabled: voter?.isRegisteredAsDRep || voter?.isRegisteredAsSoleVoter,
103103
});
104104
const { data: votes, areDRepVotesLoading } = useGetDRepVotesQuery(
105105
queryFilters,

0 commit comments

Comments
 (0)