Skip to content

Commit

Permalink
13707 Fix issue with Unsaved Dialog box showing on save draft (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasBoucher authored Oct 22, 2022
1 parent 98cd457 commit 93988ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppr-ui/src/views/mhrInformation/MhrInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export default defineComponent({
? await updateMhrDraft(getMhrInformation.value.draftNumber, apiData)
: await createMhrTransferDraft(apiData)
localState.loading = false
setUnsavedChanges(false)
!mhrTransferDraft.error
? goToDash()
: console.log(mhrTransferDraft?.error) // Handle Schema or Api errors here..
Expand Down

0 comments on commit 93988ee

Please sign in to comment.