smengcl commented on code in PR #4519:
URL: https://github.com/apache/ozone/pull/4519#discussion_r1165895309


##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/overview/overview.tsx:
##########
@@ -227,6 +231,9 @@ export class Overview extends 
React.Component<Record<string, object>, IOverviewS
           <Col xs={24} sm={18} md={12} lg={12} xl={6}>
             <OverviewCard loading={loading} title='Keys' 
data={keys.toString()} icon='file-text'/>
           </Col>
+          <Col xs={24} sm={18} md={12} lg={12} xl={6}>
+            <OverviewCard loading={loading} title='Pending Key Deletions' 
data={pendingDeleteKeys.toString()} icon='delete'/>

Review Comment:
   This `toString()` raises error for me and @dombizita :
   
   ```
   TypeError: Cannot read properties of undefined (reading 'toString')
   ```
   
   <img width="401" alt="image" 
src="https://user-images.githubusercontent.com/50227127/231851659-5c963620-ce0a-4173-a52f-36cab83ccd97.png";>
   
   
   @smitajoshi12 I believe you will need to check whether `pendingDeleteKeys` 
is defined or not



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to