Skip to content

Commit

Permalink
Update DetailComponent.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
SodhiA1 committed Jan 14, 2025
1 parent eeb7ee2 commit 6655745
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default {
addStudentSheet: false,
resetFlag: false,
reloadStudentsFlag: false,
afterSubmittedStatuses: ['P_DUP_POST', 'P_DUP_VRFD', 'COMPLETED'],
submittedStatuses: ['SUBMITTED', 'P_DUP_POST', 'P_DUP_VRFD', 'COMPLETED']
};
},
computed: {
Expand All @@ -231,7 +231,7 @@ export default {
return (this.userInfo?.activeInstitutePermissions?.filter(perm => perm === PERMISSION.SCHOOL_SDC_EDIT).length > 0);
},
isSubmitted(){
return this.afterSubmittedStatuses.includes(this.schoolCollection?.sdcSchoolCollectionStatusCode);
return this.submittedStatuses.includes(this.schoolCollection?.sdcSchoolCollectionStatusCode);
}
},
created() {
Expand Down

0 comments on commit 6655745

Please sign in to comment.