mirror of
https://github.com/kasmtech/kasm-install-wizard.git
synced 2026-01-23 02:34:27 +00:00
use https by default and sort the images displayed to the user
This commit is contained in:
parent
79fb4d3773
commit
45f627b4fd
2 changed files with 10 additions and 7 deletions
|
|
@ -207,7 +207,7 @@ async function pickImages() {
|
|||
titleChange('Image Selection');
|
||||
let imagesDiv = $('<div>', {class: 'cardcontainer', id: 'images'});
|
||||
$('#container').append(imagesDiv);
|
||||
for await (let image of Object.keys(images.images)) {
|
||||
for await (let image of Object.keys(images.images).sort(Intl.Collator().compare)) {
|
||||
let imageName = $('<p>').text(image);
|
||||
let imageDiv = $('<div>', {
|
||||
class: 'card',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue