Skip to content

Commit

Permalink
ofmcc-4841 - update FA Submitted status display
Browse files Browse the repository at this point in the history
  • Loading branch information
vietle-cgi committed Jul 16, 2024
1 parent 7f53fb5 commit d67dff3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions frontend/src/components/funding/FundingAgreementsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@ import FundingAgreementService from '@/services/fundingAgreementService'
import { FUNDING_AGREEMENT_STATUS_CODES, SUPPLEMENTARY_APPLICATION_STATUS_CODES, BLANK_FIELD, APPLICATION_TYPES } from '@/utils/constants'
import format from '@/utils/format'
const IN_PROGRESS_STATUSES = [
FUNDING_AGREEMENT_STATUS_CODES.DRAFT,
FUNDING_AGREEMENT_STATUS_CODES.FA_REVIEW,
FUNDING_AGREEMENT_STATUS_CODES.SUBMITTED,
FUNDING_AGREEMENT_STATUS_CODES.IN_REVIEW_WITH_MINISTRY_EA,
]
const IN_PROGRESS_STATUSES = [FUNDING_AGREEMENT_STATUS_CODES.DRAFT, FUNDING_AGREEMENT_STATUS_CODES.FA_REVIEW, FUNDING_AGREEMENT_STATUS_CODES.IN_REVIEW_WITH_MINISTRY_EA]
export default {
name: 'FundingAgreementsTab',
Expand Down Expand Up @@ -168,6 +163,7 @@ export default {
return {
'status-gray': IN_PROGRESS_STATUSES.includes(statusCode),
'status-yellow': statusCode === FUNDING_AGREEMENT_STATUS_CODES.SIGNATURE_PENDING,
'status-blue': statusCode === FUNDING_AGREEMENT_STATUS_CODES.SUBMITTED,
'status-green': [FUNDING_AGREEMENT_STATUS_CODES.ACTIVE].includes(statusCode),
'status-purple': statusCode === FUNDING_AGREEMENT_STATUS_CODES.EXPIRED,
'status-red': statusCode === FUNDING_AGREEMENT_STATUS_CODES.TERMINATED,
Expand Down

0 comments on commit d67dff3

Please sign in to comment.