Save dataset id in state and if the component need the dataset it makes request using datasetsService method getDataset(datasetId: string) when it loads the id from state. This led to issues when validating regions filter after loading a query (share/save query) - genome wasn't passed on time. So the way of passing the genome is changed.
Background
Saving Dataset object in state causes bugs.
Aim
To save dataset id only in state.
Implementation
Save dataset id in state and if the component need the dataset it makes request using datasetsService method getDataset(datasetId: string) when it loads the id from state. This led to issues when validating regions filter after loading a query (share/save query) - genome wasn't passed on time. So the way of passing the genome is changed.