Closed denzelb5 closed 4 years ago
In getEnvironmentWithSpecies: Are you getting just one environment or all environments? If just one, you'll want to pass the enviromentId in, otherwise you'll need a loop to iterate through each environment to get the species. In getDestinationWithEnvAndSpecies: Same question. Are you getting just one or all?
User Story:
N/A
AC:
Combine species and environment into one table.
Dev Notes:
const = demSpeciesByEnv;
3b) We will create a new empty array calledconst speciesByEnvironment = [ ];
4) Use object.keys to takedemSpeciesByEnv
and loop over the data and add a fbId.