andyhuangdev commented on code in PR #11536:
URL: https://github.com/apache/ozone/pull/11536#discussion_r4306569762


##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/nuMetadata/nuMetadata.tsx:
##########
@@ -344,7 +350,7 @@ const NUMetadata: React.FC<MetadataProps> = ({
       }
 
       // Error checks for quota response
-      if (quotaResponse.state === 'INITIALIZING') {
+      if (quotaResponse.status === 'INITIALIZING') {
         quotaResponsePresent = false;
         showDataFetchError(`The quota is currently initializing. Please wait a 
moment and try again later`);
       }

Review Comment:
   Agreed. I'll remove the quota initialization toast and update the test to 
verify that only the metadata initialization notification is shown when both 
responses are initializing.



-- 
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