Skip to content

Commit

Permalink
Added back the reactive load for seq adaptations
Browse files Browse the repository at this point in the history
  • Loading branch information
cohansen committed Jul 1, 2024
1 parent 4a82247 commit cfea6b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/sequencing/SequenceEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@
let selectedNode: SyntaxNode | null;
let toggleSeqJsonPreview: boolean = false;
$: {
if ($parcel?.sequence_adaptation_id) {
loadSequenceAdaptation($parcel?.sequence_adaptation_id);
}
}
$: {
editorSequenceView.dispatch({
changes: { from: 0, insert: sequenceDefinition, to: editorSequenceView.state.doc.length },
Expand Down

0 comments on commit cfea6b2

Please sign in to comment.