From 387605f4430c270dc2cf8664f37a05d33001d3e1 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 10 Sep 2022 15:08:07 +0530 Subject: [PATCH] Show a label for the update channel, next to the version number --- ui/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/index.html b/ui/index.html index a6b48816..7ed226ec 100644 --- a/ui/index.html +++ b/ui/index.html @@ -269,7 +269,7 @@
 
Stable Diffusion is starting.. -

Stable Diffusion UI v2.1 (beta)

+

Stable Diffusion UI v2.1

@@ -438,6 +438,7 @@ let useFaceCorrectionField = document.querySelector("#use_face_correction") let useUpscalingField = document.querySelector("#use_upscale") let upscaleModelField = document.querySelector("#upscale_model") let showOnlyFilteredImageField = document.querySelector("#show_only_filtered_image") +let updateBranchLabel = document.querySelector("#updateBranchLabel") let makeImageBtn = document.querySelector('#makeImage') @@ -1001,6 +1002,7 @@ async function getAppConfig() { if (config.update_branch === 'beta') { useBetaChannelField.checked = true + updateBranchLabel.innerHTML = "(beta)" } console.log('get config status response', config)