Fix the missing (beta) label next to the version number

This commit is contained in:
cmdr2 2022-11-18 19:38:16 +05:30
parent e53d6dbd5c
commit 3eb1919c81
2 changed files with 1 additions and 4 deletions

View File

@ -1088,10 +1088,6 @@ useUpscalingField.addEventListener('change', function(e) {
upscaleModelField.disabled = !this.checked
})
if (useBetaChannelField.checked) {
updateBranchLabel.innerText = "(beta)"
}
makeImageBtn.addEventListener('click', makeImage)
document.onkeydown = function(e) {

View File

@ -205,6 +205,7 @@ async function getAppConfig() {
if (config.update_branch === 'beta') {
useBetaChannelField.checked = true
document.querySelector("#updateBranchLabel").innerText = "(beta)"
}
if (config.ui && config.ui.open_browser_on_start === false) {
uiOpenBrowserOnStartField.checked = false