dcoric commented on code in PR #180:
URL: https://github.com/apache/yunikorn-web/pull/180#discussion_r1591978354


##########
src/app/components/queues-view/queues-view.component.ts:
##########
@@ -226,4 +230,14 @@ export class QueuesViewComponent implements OnInit {
       });
     }
   }
+
+  loadStoredPartition(defaultValue = ''): string {
+    const storedPartition = localStorage.getItem('selectedPartitionAndQueue');
+    if (storedPartition && storedPartition.indexOf(':') > 0) return 
storedPartition.split(':')[0];
+    return defaultValue;
+  }
+
+  storeSelectedPartition() {
+    localStorage.setItem('selectedPartitionAndQueue', this.partitionSelected + 
':');
+  }

Review Comment:
   It makes sense. I'm updating it with this ticket 



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

Reply via email to