mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Few UI Enhancements (#79)
- Add Install/Upgrade keywork dynamically on popup - Sort Repo list alphabetically - Sort CLuster list alphabetically Co-authored-by: Harshit Mehta <harshitm@nvidia.com>
This commit is contained in:
@@ -6,7 +6,8 @@ function loadRepoView() {
|
||||
reportError("Failed to get list of repositories", xhr)
|
||||
}).done(function (data) {
|
||||
const items = $("#sectionRepo .repo-list ul").empty()
|
||||
|
||||
data.sort((a, b) => (a.name > b.name) - (a.name < b.name))
|
||||
|
||||
data.forEach(function (elm) {
|
||||
let opt = $('<li class="mb-2"><label><input type="radio" name="cluster" class="me-2"/><span></span></label></li>');
|
||||
opt.attr('title', elm.url)
|
||||
|
||||
Reference in New Issue
Block a user