diff --git a/client/src/components/categorical/index.js b/client/src/components/categorical/index.js index 99ccbfcd..5003ab8c 100644 --- a/client/src/components/categorical/index.js +++ b/client/src/components/categorical/index.js @@ -185,7 +185,9 @@ class Categories extends React.Component { {/* READ ONLY CATEGORICAL FIELDS */} {/* this is duplicative but flat, could be abstracted */} {allCategoryNames.map((catName) => - !schema.annotations.obsByName[catName].writable ? ( + !schema.annotations.obsByName[catName].writable && + (schema.annotations.obsByName[catName].categories?.length > 1 || + !schema.annotations.obsByName[catName].categories) ? (