mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
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:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user