Unverified Commit 0220976e authored by Jyothish's avatar Jyothish Committed by GitHub
Browse files

Correctly reset sequence download options in InstantDownloadGene (#559)

parent 0cd7bb06
Pipeline #187675 passed with stages
in 8 minutes and 41 seconds
......@@ -19,10 +19,7 @@ import intersection from 'lodash/intersection';
import classNames from 'classnames';
import { fetchForGene } from '../instant-download-fetch/fetchForGene';
import {
filterTranscriptOptions,
defaultTranscriptOptions
} from '../instant-download-transcript/InstantDownloadTranscript';
import { filterTranscriptOptions } from '../instant-download-transcript/InstantDownloadTranscript';
import Checkbox from 'src/shared/components/checkbox/Checkbox';
import InstantDownloadButton from '../instant-download-button/InstantDownloadButton';
......@@ -105,7 +102,7 @@ const InstantDownloadGene = (props: Props) => {
const resetCheckboxes = () => {
setIsGeneSequenceSelected(false);
setTranscriptOptions(defaultTranscriptOptions);
setTranscriptOptions(filterTranscriptOptions(biotype));
};
const onSubmit = async () => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment