diff --git a/src/components/proposals/quest-progression.vue b/src/components/proposals/quest-progression.vue index 018607e0d..b3e408335 100644 --- a/src/components/proposals/quest-progression.vue +++ b/src/components/proposals/quest-progression.vue @@ -97,38 +97,38 @@ export default { let status = '' if (card.approvedDate) { status = this.parsedDate(card.approvedDate) - } else if (card.status === PROPOSAL_STATE.REJECTED) { + } else if (card?.status === PROPOSAL_STATE.REJECTED) { status = this.parsedDate(card.rejectedDate) - } else if (card.status === PROPOSAL_STATE.PROPOSED) { + } else if (card?.status === PROPOSAL_STATE.PROPOSED) { status = 'On voting' } return status }, completionCardTitle () { - return this.currentQuest.status === PROPOSAL_STATE.PROPOSED ? 'Not available yet' : 'Create now!' + return this.currentQuest?.status === PROPOSAL_STATE.PROPOSED ? 'Not available yet' : 'Create now!' } } }