Skip to content

Commit aa416eb

Browse files
committed
fix: allow renewals to continue with no intakes
1 parent 2a3978b commit aa416eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/views/applications/ApplicationsHistoryView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ export default {
419419
},
420420
421421
facilityMayContinueDraft(applicationItem) {
422-
const { facilityId, statusCode } = applicationItem
423-
if (statusCode !== APPLICATION_STATUS_CODES.DRAFT) return true
422+
const { facilityId, statusCode, applicationRenewalType } = applicationItem
423+
if (statusCode !== APPLICATION_STATUS_CODES.DRAFT || applicationRenewalType === APPLICATION_RENEWAL_TYPES.RENEWAL) return true
424424
return this.userInfo.facilities.find((f) => f.facilityId === facilityId)?.intakeWindowCheckForAddApplication || false
425425
},
426426

0 commit comments

Comments
 (0)