Skip to content

Commit

Permalink
Update cancel Transport Permit dialog (#1707)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimak1 authored Jan 29, 2024
1 parent cd6cdd8 commit 37836c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ppr-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ppr-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ppr-ui",
"version": "3.0.30",
"version": "3.0.31",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
5 changes: 4 additions & 1 deletion ppr-ui/src/views/mhrInformation/MhrInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,10 @@ export default defineComponent({
const handleIncompleteRegistrationsResp = async (val: boolean) => {
if (!val) {
setUnsavedChanges(false)
goToDashboard()
setEmptyMhrTransfer(initMhrTransfer())
resetTransportPermit(true)
resetValidationState()
await scrollToFirstError(false, 'mhr-information-header')
}
localState.showIncompleteRegistrationDialog = false
}
Expand Down

0 comments on commit 37836c8

Please sign in to comment.