gnomad-browser icon indicating copy to clipboard operation
gnomad-browser copied to clipboard

Update components that render conditional on dataset

Open nawatts opened this issue 3 years ago • 0 comments

Many components render differently based on the current dataset. Check for conditionals such as datasetId.startsWith('gnomad_r3').

Ideally, instead of checking the dataset ID directly, abstract checks into functions in dataset-metadata. For example, datasetHasGenomes vs datasetId !== 'exac'.

nawatts avatar Jan 10 '22 18:01 nawatts