Skip to content

Commit

Permalink
fix: voting on proposals with privacy none
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Jan 9, 2025
1 parent ca9f7f7 commit e70a43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/ui/src/components/Modal/Votes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function handleEndReached() {
}
const isEncrypted = computed(() => {
return !!props.proposal.privacy && !props.proposal.completed;
return props.proposal.privacy === 'shutter' && !props.proposal.completed;
});
watch([open, () => props.proposal.id], ([toOpen, toId], [, fromId]) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/networks/offchain/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export function createActions(
authenticator: '',
strategies: [],
metadataUri: '',
privacy: proposal.privacy,
privacy: proposal.privacy === 'none' ? '' : proposal.privacy,
reason,
app: app || EDITOR_APP_NAME
};
Expand Down

0 comments on commit e70a43c

Please sign in to comment.