Improve app page with table-like structure

This commit is contained in:
Raphire
2026-02-18 00:26:10 +01:00
parent f47b0531a4
commit 754c3cee4c
4 changed files with 138 additions and 35 deletions

View File

@@ -28,11 +28,13 @@ function LoadAppsDetailsFromJson {
}
}
$friendlyName = if ($appData.FriendlyName) { $appData.FriendlyName } else { $appId }
$displayName = if ($appData.FriendlyName) { "$($appData.FriendlyName) ($appId)" } else { $appId }
$isChecked = if ($InitialCheckedFromJson) { $appData.SelectedByDefault } else { $false }
$apps += [PSCustomObject]@{
AppId = $appId
FriendlyName = $friendlyName
DisplayName = $displayName
IsChecked = $isChecked
Description = $appData.Description