Disabling Overview sections
Add a possibility for the user to specify which sections of Overviews are displayed by specifying false for the ones to hide in genesysConfig: Config:
// Embedded Genesys configuration
const genesysConfig = {
apiUrl: 'https://api.sandbox.genesys-pgr.org', // Genesys API server
...
overviews: {
'cropName': false,
'taxonomy.grinTaxonomySpecies.name': false
}
}
The section keys can be identified in src/accession/AccessionOverviewSection.tsx.
By default all sections are enabled.
Edited by Matija Obreza