www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

commit 1dceb06d8abbdfffb7a6e98a7ef47852834a35db
parent f784ba451303c0e50d1a943908638a2d65df3f33
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Fri, 11 Oct 2024 12:45:09 -0700

Don't show profile value if nullish in settings

Diffstat:
Mfiles/settings/main.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/files/settings/main.js b/files/settings/main.js @@ -208,6 +208,10 @@ function create_input(name, setting, current_value) { function update_info(key, value) { let dl = document.getElementById("userinfo") + if (value == null) { + return + } + let v = get_info_element(key) if (v != undefined) { v.textContent = value