Components are getting the current dataset in different ways (from url, from dataset service or passed as Input).
Aim
To store the selected dataset in state and make components to take it from there.
Implementation
Take the current dataset from url and save it to state in Datasets component once. Then make other components which need the current dataset to take it from the state.
To save Dataset object (which has property of type Genotype Browser) to state, some Genotype Browser properties need to change their type from Set to array.
Background
Components are getting the current dataset in different ways (from url, from dataset service or passed as Input).
Aim
To store the selected dataset in state and make components to take it from there.
Implementation
Take the current dataset from url and save it to state in Datasets component once. Then make other components which need the current dataset to take it from the state. To save Dataset object (which has property of type Genotype Browser) to state, some Genotype Browser properties need to change their type from Set to array.