diff --git a/frontend/src/components/requestChanges/ChangeFileUpload.vue b/frontend/src/components/requestChanges/ChangeFileUpload.vue index 84ae0040..9d4caaff 100644 --- a/frontend/src/components/requestChanges/ChangeFileUpload.vue +++ b/frontend/src/components/requestChanges/ChangeFileUpload.vue @@ -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']), @@ -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'; }, }, diff --git a/frontend/src/components/requestChanges/ChangeNotificationForm.vue b/frontend/src/components/requestChanges/ChangeNotificationForm.vue index ab080165..8cd3486b 100644 --- a/frontend/src/components/requestChanges/ChangeNotificationForm.vue +++ b/frontend/src/components/requestChanges/ChangeNotificationForm.vue @@ -143,7 +143,7 @@ export default { if (currentCR?.unlockChangeRequest || currentCR?.unlockOtherChangesDocuments) { return false; } - return this.loadedChangeRequest?.externalStatus !== 'INCOMPLETE'; + return currentCR?.externalStatus != 'INCOMPLETE'; }, }, methods: {