Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-web
ensembl-client
Commits
0220976e
Unverified
Commit
0220976e
authored
Aug 25, 2021
by
Jyothish
Committed by
GitHub
Aug 25, 2021
Browse files
Correctly reset sequence download options in InstantDownloadGene (#559)
parent
0cd7bb06
Pipeline
#187675
passed with stages
in 8 minutes and 41 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/ensembl/src/shared/components/instant-download/instant-download-gene/InstantDownloadGene.tsx
...nt-download/instant-download-gene/InstantDownloadGene.tsx
+2
-5
No files found.
src/ensembl/src/shared/components/instant-download/instant-download-gene/InstantDownloadGene.tsx
View file @
0220976e
...
...
@@ -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
(
default
TranscriptOptions
);
setTranscriptOptions
(
filter
TranscriptOptions
(
biotype
)
);
};
const
onSubmit
=
async
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment