Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-web
ensembl-client
Commits
6ccff56b
Unverified
Commit
6ccff56b
authored
Apr 01, 2022
by
Andrey Azov
Committed by
GitHub
Apr 01, 2022
Browse files
Fix duplicate sequence deletion bug in the BLAST form (#723)
parent
b816bbac
Pipeline
#261542
passed with stages
in 4 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/content/app/tools/blast/components/blast-input-sequences/BlastInputSequence.tsx
...t/components/blast-input-sequences/BlastInputSequence.tsx
+4
-1
No files found.
src/content/app/tools/blast/components/blast-input-sequences/BlastInputSequence.tsx
View file @
6ccff56b
...
...
@@ -120,7 +120,10 @@ const BlastInputSequence = (props: Props) => {
};
const
onClear
=
()
=>
{
setInput
(
''
);
if
(
!
props
.
sequence
)
{
// clear textarea if its content has not yet been sent to the parent
setInput
(
''
);
}
props
.
onRemoveSequence
?.(
index
);
props
.
onInput
?.(
''
,
index
);
};
...
...
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