Skip to content

Commit

Permalink
fix: Default quorum to zero (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Jan 16, 2025
1 parent e8cd840 commit 2d6a671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/ui/src/composables/useSpaceSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function useSpaceSettings(space: Ref<Space>) {
const quorumType = ref(
'default' as NonNullable<OffchainApiSpace['voting']['quorumType']>
);
const quorum = ref(1 as string | number);
const quorum = ref(0 as string | number);
const voteType = ref(
'any' as
| 'any'
Expand Down Expand Up @@ -425,7 +425,7 @@ export function useSpaceSettings(space: Ref<Space>) {

return {
quorumType: space.additionalRawData?.voting.quorumType ?? 'default',
quorum: space.additionalRawData?.voting.quorum ?? 1,
quorum: space.additionalRawData?.voting.quorum ?? 0,
votingType:
!spaceVoteType || spaceVoteType === 'custom' ? 'any' : spaceVoteType,
privacy: validPrivacyTypes.includes(privacyValue as string)
Expand Down

0 comments on commit 2d6a671

Please sign in to comment.