diff --git a/CHANGELOG.md b/CHANGELOG.md index bfd082028..acc87f4fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,11 +16,11 @@ changes. ### Fixed -- +- Handle CIP-119 doNotList field [Issue 1940](https://github.com/IntersectMBO/govtool/issues/1940) ### Changed -- +- Make displaying own DRep in DRep directory available [Issue 1934](https://github.com/IntersectMBO/govtool/issues/1934) ### Removed diff --git a/govtool/frontend/src/pages/DRepDirectoryContent.tsx b/govtool/frontend/src/pages/DRepDirectoryContent.tsx index 8fe12aae3..e9cf347fb 100644 --- a/govtool/frontend/src/pages/DRepDirectoryContent.tsx +++ b/govtool/frontend/src/pages/DRepDirectoryContent.tsx @@ -209,12 +209,7 @@ export const DRepDirectoryContent: FC = ({ > {dRepList?.length === 0 && } {dRepListToDisplay?.map((dRep) => { - if ( - isSameDRep(dRep, myDrep?.view) || - isSameDRep(dRep, inProgressDelegation) - ) { - return null; - } + if (dRep.doNotList) return null; return (