diff --git a/src/components/ProposalsItemFooter.vue b/src/components/ProposalsItemFooter.vue index 414cb05f..2d208a48 100644 --- a/src/components/ProposalsItemFooter.vue +++ b/src/components/ProposalsItemFooter.vue @@ -12,9 +12,9 @@ const quorumText = computed(() => { return ''; } - const optimisticQuorum = props.proposal.quorumType === 'optimistic'; + const quorumOfRejection = props.proposal.quorumType === 'rejection'; const percentage = formatPercentNumber( - optimisticQuorum + quorumOfRejection ? Number( props.proposal.scores .filter((c, i) => i === 1) @@ -22,7 +22,7 @@ const quorumText = computed(() => { ) : Number(props.proposal.scores_total / props.proposal.quorum) ); - return optimisticQuorum + return quorumOfRejection ? `${percentage} quorum rejection` : `${percentage} quorum reached`; }); diff --git a/src/components/SettingsVotingBlock.vue b/src/components/SettingsVotingBlock.vue index 48f4aaa1..2557b4a8 100644 --- a/src/components/SettingsVotingBlock.vue +++ b/src/components/SettingsVotingBlock.vue @@ -40,8 +40,8 @@ const { form, validationErrors } = useFormSpaceSettings(props.context); name: 'Default' }, { - value: 'optimistic', - name: 'Optimistic' + value: 'rejection', + name: 'Quorum of rejection' } ]" :disabled="isViewOnly" diff --git a/src/components/SpaceProposalResultsQuorum.vue b/src/components/SpaceProposalResultsQuorum.vue index fed97d74..a72e7fd2 100644 --- a/src/components/SpaceProposalResultsQuorum.vue +++ b/src/components/SpaceProposalResultsQuorum.vue @@ -17,7 +17,7 @@ const { formatCompactNumber, formatPercentNumber } = useIntl();