From 45f131f8eaf94cf3951ca7ffeb6f311590233b8a Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Wed, 17 Jul 2024 14:05:49 -0700 Subject: [PATCH] No scrollbar for session list --- src/gui/src/UI/UIWindowSessionList.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/gui/src/UI/UIWindowSessionList.js b/src/gui/src/UI/UIWindowSessionList.js index 751f2e18..023b5546 100644 --- a/src/gui/src/UI/UIWindowSessionList.js +++ b/src/gui/src/UI/UIWindowSessionList.js @@ -28,15 +28,17 @@ async function UIWindowSessionList(options){ return new Promise(async (resolve) => { let h = ''; h += `
`; - h += `
${i18n('signing_in')}
` - h += `
`; - h += `

${i18n('sign_in_with_puter')}

` - for (let index = 0; index < window.logged_in_users.length; index++) { - const l_user = window.logged_in_users[index]; - h += `
${l_user.username}
`; - } + // loading indicator + h += `
${i18n('signing_in')}
`; + // session list + h += `
`; + h += `

${i18n('sign_in_with_puter')}

` + for (let index = 0; index < window.logged_in_users.length; index++) { + const l_user = window.logged_in_users[index]; + h += `
${l_user.username}
`; + } h += `
`; - + // c2a h += `
`; h += `
`;