Skip to content

Commit

Permalink
Widen proposal title margin
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir committed Aug 31, 2020
1 parent 7e6d5e5 commit 06b87f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ProposalActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function ProposalActions({
signalingProposal,
])
const isCancellable = useMemo(
() => hasCancelRole && mode !== 'executed' && mode !== 'active',
() => hasCancelRole && mode !== 'executed' && mode !== 'cancelled',
[hasCancelRole, mode]
)
const isSupportable = useMemo(() => accountBalance.gt('0'), [accountBalance])
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProposalsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function ProposalProperty({ title, children }) {
css={`
display: flex;
flex-direction: column;
width: 200px;
width: 95%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down
2 changes: 2 additions & 0 deletions src/screens/ProposalDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ function ProposalDetail({
return false
}

console.log('cancelRole', creator, connectedAccount)
if (addressesEqual(creator, connectedAccount)) {
console.log('aja')
return true
}

Expand Down

0 comments on commit 06b87f8

Please sign in to comment.