Skip to content

Commit

Permalink
fixed error on cancel unit note
Browse files Browse the repository at this point in the history
  • Loading branch information
flutistar committed Aug 15, 2024
1 parent 78a39b4 commit 50bd1b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
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.2.43",
"version": "3.2.44",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
2 changes: 0 additions & 2 deletions ppr-ui/src/components/unitNotes/UnitNoteAdd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export default defineComponent({
emits: ['isValid'],
setup (props, { emit }) {
const {
setMhrAttentionReference,
setMhrUnitNoteProp
} = useStore()
Expand Down Expand Up @@ -146,7 +145,6 @@ export default defineComponent({
// update the side label for Cancel Note only
if (isCancelUnitNote.value) {
remarksContent.sideLabel = remarksContent.sideLabelCancelNote
setMhrAttentionReference('')
}
return remarksContent
}),
Expand Down
4 changes: 2 additions & 2 deletions ppr-ui/src/views/mhrInformation/MhrUnitNote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default defineComponent({
const {
setRegTableNewItem,
setEmptyUnitNoteRegistration,
setMhrAttentionReference
setMhrUnitNoteRegistration
} = useStore()
const {
Expand Down Expand Up @@ -190,7 +190,7 @@ export default defineComponent({
await setEmptyUnitNoteRegistration(initialUnitNote)
}
if (isCancelUnitNote.value) {
setMhrAttentionReference('')
setMhrUnitNoteRegistration({ key: 'attentionReference', value: '' })
}
// reset validation trigger
localState.validate = false
Expand Down

0 comments on commit 50bd1b2

Please sign in to comment.