fix: format hostinfo in overview correctly
This commit is contained in:
parent
e667e112cb
commit
f464c42802
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ export function getOSInfo(host: HostInfo) {
|
|||
const formattedOS = formatOS(OS);
|
||||
|
||||
// Trim in case OSVersion is empty
|
||||
return `${formattedOS} ${OSVersion}`.trim();
|
||||
return `${formattedOS} ${OSVersion ?? ''}`.trim();
|
||||
}
|
||||
|
||||
function formatOS(os?: string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue