-
+ <>
{props.resultsPerDataset.map((element, index) => {
return (
<>
{element[0] === result[0].meta.beaconId && (
-
-
- {openDatasetArray[index] === true &&
- triggerArray[index] === true &&
- element[2] === true &&
- props.show === 'boolean' &&
FOUND
}
- {openDatasetArray[index] === true &&
- triggerArray[index] === true &&
- element[2] === false &&
- props.show === 'boolean' &&
NOT FOUND
}
- {props.show === 'count' &&
- triggerArray[index] === true && (
-
{element[3]}
- )}
+
+
+
+
+
+ {result[0].response.organization.name}
+
+
+
+ {element[1].map((datasetObject, indexDataset) => {
+ return (
+
+
+
+ {openDatasetArray[indexDataset] === true &&
+ triggerArray[indexDataset] === true &&
+ element[2][indexDataset] === true &&
+ props.show === 'boolean' &&
FOUND
}
+ {openDatasetArray[indexDataset] === true &&
+ triggerArray[indexDataset] === true &&
+ element[2][indexDataset] === false &&
+ props.show === 'boolean' && (
+ NOT FOUND
+ )}
+ {props.show === 'count' &&
+ triggerArray[index] === true && (
+ {element[3][indexDataset]}
+ )}
+
+ )
+ })}
+
+
+
)}
>
@@ -436,44 +454,93 @@ function TableResultsIndividuals (props) {
{result[2] === true &&
props.show === 'boolean' &&
element[0] === result[0].meta.beaconId && (
-
-
No datasets available
-
FOUND
+
+
+
+
+
+ {result[0].response.organization.name}
+
+
+
+
+ No datasets available
+
FOUND
+
+
)}
{result[2] === false &&
props.show === 'boolean' &&
element[0] === result[0].meta.beaconId && (
-
-
No datasets available
-
NOT FOUND
+
+
+
+
+
+ {result[0].response.organization.name}
+
+
+
+ No datasets available
+
NOT FOUND
+
+
)}
+
{props.show === 'count' &&
element[0] === result[0].meta.beaconId && (
-
-
No datasets available
-
- {result[1]} results
-
+
+
+
+
+
+ {result[0].response.organization.name}
+
+
+
+ No datasets available
+
+ {result[1]} results
+
+
+
+
)}
>
)
})}
-
-
-
-
+ >
)}
{props.show === 'full' && result[2] === true && (
diff --git a/frontend/src/config.json b/frontend/src/config.json
index d994725..431d66c 100644
--- a/frontend/src/config.json
+++ b/frontend/src/config.json
@@ -1,5 +1,5 @@
{
- "API_URL": "https://beacon-network-backend-test.ega-archive.org/beacon-network/v2.0.0",
+ "API_URL": "https://beacons.bsc.es/beacon-network/v2.0.0",
"REDIRECT_URL": "http://localhost:3000/",
"KEYCLOAK_URL": "https://beacon-network-demo2.ega-archive.org"
}
\ No newline at end of file