diff --git a/client/src/components/categorical/index.js b/client/src/components/categorical/index.js index 69a2a75a..602b21f7 100644 --- a/client/src/components/categorical/index.js +++ b/client/src/components/categorical/index.js @@ -182,6 +182,35 @@ class Categories extends React.Component { } /> + {writableCategoriesEnabled ? ( +
+ + + Create new category + + +
+ ) : null} + {/* READ ONLY CATEGORICAL FIELDS */} {/* this is duplicative but flat, could be abstracted */} {allCategoryNames.map((catName) => @@ -207,33 +236,6 @@ class Categories extends React.Component { /> ) : null )} - - {writableCategoriesEnabled ? ( - - - Create new category - - - ) : null} ); }