Skip to content

Commit b889786

Browse files
authored
Update ReportChanges.vue
1 parent 407cafe commit b889786

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

frontend/src/components/requestChanges/ReportChanges.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -468,14 +468,14 @@ export default {
468468
}
469469
},
470470
notificationFormActionRequiredRoute(changeActionId, changeRequestId) {
471-
let currentCR = this.changeRequestStore?.find(el=>el.changeRequestId===changeRequestId);
472-
if (currentCR?.unlockChangeRequest || currentCR?.unlockOtherChangesDocuments) {
473-
this.goToChangeForm(changeActionId, changeRequestId);
474-
} else if (currentCR?.unlockDeclaration) {
475-
this.$router.push(changeUrl(PATHS.SUMMARY_DECLARATION, changeRequestId, CHANGE_TYPES.CHANGE_NOTIFICATION));
476-
} else {
477-
this.goToChangeForm(changeActionId, changeRequestId);
478-
}
471+
// let currentCR = this.changeRequestStore?.find(el=>el.changeRequestId===changeRequestId);
472+
// if (currentCR?.unlockChangeRequest || currentCR?.unlockOtherChangesDocuments) {
473+
// this.goToChangeForm(changeActionId, changeRequestId);
474+
// } else if (currentCR?.unlockDeclaration) {
475+
// this.$router.push(changeUrl(PATHS.SUMMARY_DECLARATION, changeRequestId, CHANGE_TYPES.CHANGE_NOTIFICATION));
476+
// } else {
477+
this.goToChangeForm(changeActionId, changeRequestId);
478+
//}
479479
},
480480
newFacilityActionRequiredRoute(changeRequestId) {
481481
const currentCR = this.changeRequestStore?.find(el=>el.changeRequestId===changeRequestId);

0 commit comments

Comments
 (0)