mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Fleet UI: [unreleased bug] Fix ChromeOS platform no longer showing with API change (#12284)
This commit is contained in:
parent
747c752655
commit
b7b8222da7
@ -85,7 +85,7 @@ const parseLabels = (list?: ILabelSummary[]) => {
|
||||
l.name === "macOS" ||
|
||||
l.name === "MS Windows" ||
|
||||
l.name === "All Linux" ||
|
||||
l.name === "ChromeOS"
|
||||
l.name === "chrome"
|
||||
) || [];
|
||||
const other = list?.filter((l) => l.label_type === "regular") || [];
|
||||
|
||||
@ -103,6 +103,8 @@ const TargetPillSelector = ({
|
||||
return "All hosts";
|
||||
case "All Linux":
|
||||
return "Linux";
|
||||
case "chrome":
|
||||
return "ChromeOS";
|
||||
default:
|
||||
return entity.name || "Missing display name"; // TODO
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user