diff --git a/src/src/components/collections/collections.jsx b/src/src/components/collections/collections.jsx index 855236c9..2b041a9c 100644 --- a/src/src/components/collections/collections.jsx +++ b/src/src/components/collections/collections.jsx @@ -97,8 +97,8 @@ export function CollectionForm (props){ entity.id = entity.uuid; //When coming from the Entity, the Datasets use dataset_type, from the Search UI they pass display_subtype instead if (entity.dataset_type && entity.dataset_type.length > 0) { - var subtype = generateDisplaySubtypeSimple_UBKG(entity.dataset_type[0],props.dtl_all); - entity.display_subtype = subtype; + // var subtype = generateDisplaySubtypeSimple_UBKG(entity.dataset_type[0],props.dtl_all); + entity.display_subtype = entity.dataset_type; }else { } diff --git a/src/src/components/collections/epicollections.jsx b/src/src/components/collections/epicollections.jsx index 6c9a5364..7f4e14a5 100644 --- a/src/src/components/collections/epicollections.jsx +++ b/src/src/components/collections/epicollections.jsx @@ -97,8 +97,8 @@ export function EPICollectionForm (props){ entity.id = entity.uuid; //When coming from the Entity, the Datasets use dataset_type, from the Search UI they pass display_subtype instead if (entity.dataset_type && entity.dataset_type.length > 0) { - var subtype = generateDisplaySubtypeSimple_UBKG(entity.dataset_type[0],props.dtl_all); - entity.display_subtype = subtype; + // var subtype = generateDisplaySubtypeSimple_UBKG(entity.dataset_type[0],props.dtl_all); + entity.display_subtype = entity.dataset_type; }else { }