diff --git a/src/components/explorer/IndividualBiosamples.js b/src/components/explorer/IndividualBiosamples.js
index 5f11baff0..172755027 100644
--- a/src/components/explorer/IndividualBiosamples.js
+++ b/src/components/explorer/IndividualBiosamples.js
@@ -33,8 +33,8 @@ const BiosampleProcedure = ({ resourcesTuple, procedure }) => (
) : null}
{procedure.performed ? (
- Time Performed:{" "}
-
+ Performed:{" "}
+
): null}
diff --git a/src/components/explorer/TimeElement.js b/src/components/explorer/TimeElement.js
index b8a0463c4..62c4e29d9 100644
--- a/src/components/explorer/TimeElement.js
+++ b/src/components/explorer/TimeElement.js
@@ -29,31 +29,29 @@ const getTimeElementTypeLabel = (timeElement) => {
const renderTimeElement = (type, timeElement) => {
switch (type) {
case "age":
- return <>{timeElement.age.iso8601duration}>;
+ return {timeElement.age.iso8601duration};
case "gestational_age":
- return <>
- Weeks:{" "}{timeElement.gestationalAge.weeks}
+ return
+ Weeks:{" "}{timeElement.gestationalAge.weeks}{" "}
Days:{" "}{timeElement.gestationalAge.days}
- >;
+ ;
case "age_range":
- return <>
- Start:{" "}<>{timeElement.age_range.start.iso8601duration}>
+ return
+ Start:{" "}<>{timeElement.age_range.start.iso8601duration}>{" "}
End:{" "}<>{timeElement.age_range.end.iso8601duration}>
- >;
+ ;
case "ontology_class":
- return <>
- ID:{" "}{timeElement.ontology_class.id}
+ return
+ ID:{" "}{timeElement.ontology_class.id}{" "}
Label:{" "}{timeElement.ontology_class.label}
- >;
+ ;
case "timestamp":
- return <>
- Timestamp:{" "}{timeElement.timestamp}
- >;
+ return {timeElement.timestamp};
case "interval":
- return <>
- Start:{" "}<>{timeElement.interval.start}>
+ return
+ Start:{" "}<>{timeElement.interval.start}>{" "}
End:{" "}<>{timeElement.interval.end}>
- >;
+ ;
default:
return EM_DASH;
}
@@ -68,10 +66,10 @@ const TimeElement = ({timeElement}) => {
}
return (
-
+
{label}:
{renderTimeElement(timeType, timeElement)}
-
+
);
}