Skip to content

Commit

Permalink
Make sure to refetch application data after copy (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Sep 1, 2022
1 parent 141d46f commit 0e9138c
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,10 @@ export const ApplicationsTable: React.FC = () => {
assessment={
getApplicationAssessment(applicationToCopyAssessmentFrom.id!)!
}
onSaved={closeCopyAssessmentModal}
onSaved={() => {
closeCopyAssessmentModal();
refetch();
}}
/>
)}
</Modal>
Expand All @@ -845,7 +848,10 @@ export const ApplicationsTable: React.FC = () => {
)!
}
review={appReview}
onSaved={closeCopyAssessmentAndReviewModal}
onSaved={() => {
closeCopyAssessmentAndReviewModal();
refetch();
}}
/>
)}
</Modal>
Expand Down

0 comments on commit 0e9138c

Please sign in to comment.