Skip to content

Commit

Permalink
fix dao list count 0 issue (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
RakeshUP authored Jan 31, 2024
1 parent 4640a75 commit 83c5cf6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/containers/daoExplorer/daoExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,14 @@ export const DaoExplorer = () => {
pluginNames: filters.pluginNames,
}),
...(filters.networks?.length !== 0 && {
networks: filters.networks,
networks: filters.networks?.map(network => {
if (network === 'arbitrum-goerli') {
return 'arbitrumGoerli';
} else if (network === 'base-goerli') {
return 'baseGoerli';
}
return network;
}),
}),
...(filters.quickFilter === 'memberOf' && address
? {memberAddress: address}
Expand Down
2 changes: 1 addition & 1 deletion src/services/aragon-backend/aragon-backend-service.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export interface IFetchDaosParams
extends IOrderedRequest<OrderByValue>,
IPaginatedRequest {
pluginNames?: string[];
networks?: SupportedNetworks[];
networks?: Array<SupportedNetworks | 'arbitrumGoerli' | 'baseGoerli'>;
}

0 comments on commit 83c5cf6

Please sign in to comment.