Skip to content

Commit

Permalink
SCKAN-342 fix: Refresh statement after via/destination creation
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobspinto committed Nov 6, 2024
1 parent 6f56191 commit ab1525f
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 ab1525f

Please sign in to comment.