diff --git a/src/components/OverviewApp/RootKeyHolder.tsx b/src/components/OverviewApp/RootKeyHolder.tsx index 0e3b6f75..ba313aa6 100644 --- a/src/components/OverviewApp/RootKeyHolder.tsx +++ b/src/components/OverviewApp/RootKeyHolder.tsx @@ -706,20 +706,22 @@ export default class RootKeyHolder extends Component<{}, sortable: true, grow: 1, wrap: true, + cell: (row: any) => { + return
{row?.name ? row.name : "Not Available"}
; + }, }, { name: "Address", selector: (row: DataCapRemovalRequest) => row?.address, sortable: true, - cell: (row: DataCapRemovalRequest) => ( -
{`${row?.address?.substring( - 0, - 9 - )}...${row?.address.substring( - row?.address.length - 9, - row?.address.length - )}`}
- ), + cell: (row: DataCapRemovalRequest) => { + if (row?.address) { + return ( +
{`${row.address.substring(0, 9)}...${row.address.substring(row.address.length - 9)}`}
+ ); + } + return
Not Available
; + }, }, { name: "Datacap",