Skip to content

Commit

Permalink
Update ReportChanges.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbeckett authored Dec 12, 2023
1 parent 407cafe commit b889786
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions frontend/src/components/requestChanges/ReportChanges.vue
Original file line number Diff line number Diff line change
Expand Up @@ -468,14 +468,14 @@ export default {
}
},
notificationFormActionRequiredRoute(changeActionId, changeRequestId) {
let currentCR = this.changeRequestStore?.find(el=>el.changeRequestId===changeRequestId);
if (currentCR?.unlockChangeRequest || currentCR?.unlockOtherChangesDocuments) {
this.goToChangeForm(changeActionId, changeRequestId);
} else if (currentCR?.unlockDeclaration) {
this.$router.push(changeUrl(PATHS.SUMMARY_DECLARATION, changeRequestId, CHANGE_TYPES.CHANGE_NOTIFICATION));
} else {
this.goToChangeForm(changeActionId, changeRequestId);
}
// let currentCR = this.changeRequestStore?.find(el=>el.changeRequestId===changeRequestId);
// if (currentCR?.unlockChangeRequest || currentCR?.unlockOtherChangesDocuments) {
// this.goToChangeForm(changeActionId, changeRequestId);
// } else if (currentCR?.unlockDeclaration) {
// this.$router.push(changeUrl(PATHS.SUMMARY_DECLARATION, changeRequestId, CHANGE_TYPES.CHANGE_NOTIFICATION));
// } else {
this.goToChangeForm(changeActionId, changeRequestId);
//}
},
newFacilityActionRequiredRoute(changeRequestId) {
const currentCR = this.changeRequestStore?.find(el=>el.changeRequestId===changeRequestId);
Expand Down

0 comments on commit b889786

Please sign in to comment.