diff --git a/src/Redux/actionCreators/ServiceDetailsActions.js b/src/Redux/actionCreators/ServiceDetailsActions.js
index 747fe01f..74895045 100644
--- a/src/Redux/actionCreators/ServiceDetailsActions.js
+++ b/src/Redux/actionCreators/ServiceDetailsActions.js
@@ -96,7 +96,7 @@ export const getIsTrainingAvailable = (detailsTraining, isLoggedIn) => {
return false;
}
- if (!Object.prototype.hasOwnProperty.call(detailsTraining, "trainingMethods")) {
+ if (!Object.prototype.hasOwnProperty.call(detailsTraining, "trainingMethods") || !detailsTraining?.trainingMethods) {
return false;
}
diff --git a/src/components/ServiceDetails/DataPreset/DatasetInfo/index.js b/src/components/ServiceDetails/DataPreset/DatasetInfo/index.js
index a83cefc2..88aaeedc 100644
--- a/src/components/ServiceDetails/DataPreset/DatasetInfo/index.js
+++ b/src/components/ServiceDetails/DataPreset/DatasetInfo/index.js
@@ -33,13 +33,11 @@ const DatasetInfo = ({ classes, datasetParameters }) => {
>
)}
- {!datasetParameter?.value ?
- (
-
{datasetParameter.value}
- )} + {!datasetParameter?.value ? ( +{datasetParameter.value}
+ )} ))}