Skip to content

Commit

Permalink
empty owners var fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaranov committed Dec 26, 2018
1 parent 1314294 commit 291089d
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 57 deletions.
3 changes: 3 additions & 0 deletions old-ui/app/components/send/choose-contract-executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ class ChooseContractExecutor extends Component {
return new Promise((resolve) => {
Promise.all([this.getOwner(), this.getOwners()])
.then(([owner, owners]) => {
if (!owners) {
owners = []
}
if (owner !== '0x' && !owners.includes(owner)) {
owners.push(owner)
}
Expand Down
Loading

0 comments on commit 291089d

Please sign in to comment.