Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7399#discussion_r34930139
  
    --- Diff: 
core/src/main/resources/org/apache/spark/ui/static/additional-metrics.js ---
    @@ -26,17 +29,31 @@ $(function() {
             // Switch the class of the arrow from open to closed.
             
$(this).find('.expand-additional-metrics-arrow').toggleClass('arrow-open');
             
$(this).find('.expand-additional-metrics-arrow').toggleClass('arrow-closed');
    +
    +        window.localStorage.setItem("expand-additional-metrics", "" + 
status);
         });
     
    +    if (window.localStorage.getItem("expand-additional-metrics") == 
"true") {
    --- End diff --
    
    minor, but we probably don't need this check; if it's already false then it 
doesn't do anything if we set it to false again. Same in L74 and in other files.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to