Skip to content

Commit

Permalink
Merge pull request #490 from bcgov/release-196-jb5
Browse files Browse the repository at this point in the history
Release 196 jb5
  • Loading branch information
roblo-cgi authored Dec 8, 2023
2 parents 2f4a6c8 + 127337b commit 36e3347
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/requestChanges/ChangeFileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default {
computed: {
...mapGetters('reportChanges', ['getUploadedDocuments']),
...mapState('reportChanges', ['uploadedDocuments', 'loadedChangeRequest']),
...mapState('reportChanges', ['uploadedDocuments', 'loadedChangeRequest', 'changeRequestMap']),
...mapGetters('auth', ['userInfo']),
...mapState('application', ['applicationStatus', 'applicationId','formattedProgramYear']),
...mapState('navBar', ['changeRequestId']),
Expand All @@ -191,7 +191,8 @@ export default {
return false;
}
}
return this.loadedChangeRequest?.externalStatus !== 'INCOMPLETE';
let currentCR = this.changeRequestMap.get(this.$route.params?.changeRecGuid);
return currentCR?.externalStatus !== 'INCOMPLETE';
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default {
if (currentCR?.unlockChangeRequest || currentCR?.unlockOtherChangesDocuments) {
return false;
}
return this.loadedChangeRequest?.externalStatus !== 'INCOMPLETE';
return currentCR?.externalStatus != 'INCOMPLETE';
},
},
methods: {
Expand Down

0 comments on commit 36e3347

Please sign in to comment.