Skip to content

Commit 36e3347

Browse files
authored
Merge pull request #490 from bcgov/release-196-jb5
Release 196 jb5
2 parents 2f4a6c8 + 127337b commit 36e3347

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

frontend/src/components/requestChanges/ChangeFileUpload.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export default {
172172
173173
computed: {
174174
...mapGetters('reportChanges', ['getUploadedDocuments']),
175-
...mapState('reportChanges', ['uploadedDocuments', 'loadedChangeRequest']),
175+
...mapState('reportChanges', ['uploadedDocuments', 'loadedChangeRequest', 'changeRequestMap']),
176176
...mapGetters('auth', ['userInfo']),
177177
...mapState('application', ['applicationStatus', 'applicationId','formattedProgramYear']),
178178
...mapState('navBar', ['changeRequestId']),
@@ -191,7 +191,8 @@ export default {
191191
return false;
192192
}
193193
}
194-
return this.loadedChangeRequest?.externalStatus !== 'INCOMPLETE';
194+
let currentCR = this.changeRequestMap.get(this.$route.params?.changeRecGuid);
195+
return currentCR?.externalStatus !== 'INCOMPLETE';
195196
},
196197
},
197198

frontend/src/components/requestChanges/ChangeNotificationForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default {
143143
if (currentCR?.unlockChangeRequest || currentCR?.unlockOtherChangesDocuments) {
144144
return false;
145145
}
146-
return this.loadedChangeRequest?.externalStatus !== 'INCOMPLETE';
146+
return currentCR?.externalStatus != 'INCOMPLETE';
147147
},
148148
},
149149
methods: {

0 commit comments

Comments
 (0)