Skip to content

Commit 34dad3d

Browse files
gilluminateadamsachs
authored andcommitted
hide categories that are not active (#6892)
1 parent a486d7c commit 34dad3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/ClassificationSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const ClassificationSelect = ({
1414
}: { onSelectDataCategory: (value: string) => void } & TaxonomySelectProps) => {
1515
const { getDataCategoryDisplayNameProps, getDataCategories } =
1616
useTaxonomies();
17-
const dataCategories = getDataCategories();
17+
const dataCategories = getDataCategories().filter((c) => c.active);
1818
const [open, setOpen] = useState(false);
1919

2020
const options: TaxonomySelectOption[] = dataCategories.map((dataCategory) => {

0 commit comments

Comments
 (0)