Skip to content

Commit

Permalink
Merge pull request #353 from MetaCell/feature/SCKAN-342
Browse files Browse the repository at this point in the history
SCKAN-342 fix: Refresh statement after via/destination creation
  • Loading branch information
ddelpiano authored Nov 7, 2024
2 parents 79c5ff8 + ab1525f commit 65e92a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/Forms/StatementForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ const StatementForm = (props: any) => {
anatomical_entities: [],
from_entities: [],
});
refreshStatement();
}}
onElementReorder={async (
sourceIndex: number,
Expand Down Expand Up @@ -422,6 +423,7 @@ const StatementForm = (props: any) => {
anatomical_entities: [],
from_entities: [],
});
refreshStatement();
}}
hideDeleteBtn={statement?.destinations?.length <= 1 || isDisabled}
showReOrderingIcon={false}
Expand Down

0 comments on commit 65e92a2

Please sign in to comment.