File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class AccountSelector extends React.Component {
61
61
if ( this . props . onAccountChanged && account )
62
62
this . props . onAccountChanged ( account ) ;
63
63
64
- if ( ! this . props . typeahead && ! ! accountName )
64
+ if ( ! this . props . typeahead && accountName )
65
65
this . onInputChanged ( accountName ) ;
66
66
}
67
67
@@ -119,7 +119,7 @@ class AccountSelector extends React.Component {
119
119
// - Always returns account object
120
120
if ( ! typeahead ) {
121
121
if ( onChange ) onChange ( _accountName ) ;
122
- if ( onAccountChanged ) onAccountChanged ( _account ) ;
122
+ if ( onAccountChanged && _account ) onAccountChanged ( _account ) ;
123
123
}
124
124
}
125
125
Original file line number Diff line number Diff line change @@ -678,15 +678,14 @@ class AccountVoting extends React.Component {
678
678
679
679
let proxyInput = (
680
680
< AccountSelector
681
- hideImage
682
- style = { { width : "50%" , maxWidth : 350 } }
681
+ style = { { width : "50%" , maxWidth : 250 , marginBottom : 10 } }
683
682
account = { this . state . current_proxy_input }
684
683
accountName = { this . state . current_proxy_input }
685
684
onChange = { this . onProxyChange . bind ( this ) }
686
685
onAccountChanged = { this . onProxyAccountFound }
687
- typeahead = { true }
688
686
tabIndex = { 1 }
689
687
placeholder = "Proxy not set"
688
+ hideImage
690
689
>
691
690
< span
692
691
style = { {
Original file line number Diff line number Diff line change @@ -247,9 +247,7 @@ class RecentTransactions extends React.Component {
247
247
) . sort ( compareOps ) ;
248
248
let historyCount = history . length ;
249
249
250
- style = style ? style : { } ;
251
- style . width = "100%" ;
252
- style . height = "100%" ;
250
+ style = style ? style : { width : "100%" , height : "100%" } ;
253
251
254
252
let options = null ;
255
253
if ( true || this . props . showFilters ) {
You can’t perform that action at this time.
0 commit comments