Skip to content

Commit

Permalink
ofmcc-6204 - hide PDF button for Base Application
Browse files Browse the repository at this point in the history
  • Loading branch information
vietle-cgi committed Oct 2, 2024
1 parent a188abd commit d7c28ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/views/applications/ApplicationsHistoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ export default {
return false
//OFM core generates PDF upon submit - Supp App generates PDF only once approved
} else if (application.applicationType === APPLICATION_TYPES.OFM) {
return !this.DRAFT_STATUS_CODES.includes(application?.statusCode)
return false
// OFMCC-6204 - temporary hide the PDF button for Base Funding Application because of the missing fields issue
// return !this.DRAFT_STATUS_CODES.includes(application?.statusCode)
}
return application.statusCode === SUPPLEMENTARY_APPLICATION_STATUS_CODES.APPROVED || application.statusCode === SUPPLEMENTARY_APPLICATION_STATUS_CODES.SUBMITTED
},
Expand Down

0 comments on commit d7c28ec

Please sign in to comment.