diff --git a/changes/32777-hide-builtin-labels b/changes/32777-hide-builtin-labels new file mode 100644 index 0000000000..a2da4bb479 --- /dev/null +++ b/changes/32777-hide-builtin-labels @@ -0,0 +1 @@ +* Changed the Host details page to hide builtin labels in line with other areas such as the label filter diff --git a/frontend/pages/hosts/details/cards/Labels/Labels.tsx b/frontend/pages/hosts/details/cards/Labels/Labels.tsx index 93c81128c6..7bc28b076c 100644 --- a/frontend/pages/hosts/details/cards/Labels/Labels.tsx +++ b/frontend/pages/hosts/details/cards/Labels/Labels.tsx @@ -24,27 +24,21 @@ const Labels = ({ }: ILabelsProps): JSX.Element => { const classNames = classnames(baseClass, className); - const labelItems = labels.map((label: ILabel) => { - return ( -
No labels are associated with this host.