You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/10/28 02:23:26 UTC

[GitHub] [ozone] DaveTeng0 commented on a diff in pull request #3868: HDDS-7323. Recon: Auto refresh toggle is switched back when visiting new site

DaveTeng0 commented on code in PR #3868:
URL: https://github.com/apache/ozone/pull/3868#discussion_r1007545589


##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/utils/autoReloadHelper.tsx:
##########
@@ -49,6 +49,10 @@ class AutoReloadHelper {
       this.stopPolling();
     }
   };
+
+  toggleChecking = (checked: boolean) => {
+    sessionStorage.setItem('toggleCheck', JSON.stringify(checked));
+  };

Review Comment:
   hmm.. for myself learning, what's the difference between _checked_ in method _handleAutoReloadToggle_, and _toggleCheck_ in new method _toggleChecking_? 
   only type difference??



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org