Add version info

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
This commit is contained in:
2025-09-24 11:22:49 +09:00
parent 4bbf1339f1
commit 39ca2d205a
8 changed files with 64 additions and 3 deletions

View File

@@ -110,6 +110,16 @@ export function updateWifiStatusUI(data) {
}
}
/**
* Updates the version information in the footer.
* @param {string} version - The firmware version string.
*/
export function updateVersionUI(version) {
if (version) {
dom.versionInfo.textContent = `${version}`;
}
}
/**
* Initiates a Wi-Fi scan and updates the settings modal with the results.
*/