fix: keep uptime width constant and service table DOM cached (#3078)

* fix: keep uptime width constant and service table DOM cached

* show error status and fix columns spacing

* revert const

---------

Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
Alex Inkin
2025-12-18 18:51:34 +04:00
committed by GitHub
parent bf8ff84522
commit 720e0fcdab
7 changed files with 38 additions and 34 deletions

View File

@@ -22,6 +22,10 @@ export function renderPkgStatus(pkg: PackageDataEntry): PackageStatus {
}
export function getInstalledBaseStatus(statusInfo: T.StatusInfo): BaseStatus {
if (statusInfo.error) {
return 'error'
}
if (
statusInfo.desired.main === 'running' &&
(!statusInfo.started ||