fix(ui): handle missing or empty local version values and standardize defaults (#763)

This commit is contained in:
dw-0
2026-01-18 14:18:27 +01:00
committed by GitHub
parent f951936b20
commit 8ba134f574
2 changed files with 3 additions and 3 deletions
@@ -152,7 +152,7 @@ def symlink_webui_nginx_log(
def get_local_client_version(client: BaseWebClient) -> str | None:
relinfo_file = client.client_dir.joinpath("release_info.json")
version_file = client.client_dir.joinpath(".version")
default = "n/a"
default = "-"
if not client.client_dir.exists():
return default