dashboard of Bytom
Revision | bb328b8a2c00c7f9897371418e42bae03d7e79d3 (tree) |
---|---|
Zeit | 2021-06-23 17:41:22 |
Autor | j <coffce404@gmai...> |
Commiter | j |
fix: hide cross chain
@@ -11,7 +11,7 @@ const type = 'balance' | ||
11 | 11 | |
12 | 12 | class List extends React.Component { |
13 | 13 | componentDidMount() { |
14 | - this.props.getVoteDetail() | |
14 | + // this.props.getVoteDetail() | |
15 | 15 | } |
16 | 16 | |
17 | 17 | rescanWallet(){ |
@@ -143,8 +143,8 @@ class AdvancedTxForm extends React.Component { | ||
143 | 143 | <MenuItem eventKey='control_address'>Control with address</MenuItem> |
144 | 144 | <MenuItem eventKey='vote_output'>Vote</MenuItem> |
145 | 145 | <MenuItem eventKey='veto'>Veto</MenuItem> |
146 | - <MenuItem eventKey='cross_chain_in'>Cross Chain In</MenuItem> | |
147 | - <MenuItem eventKey='cross_chain_out'>Cross Chain Out</MenuItem> | |
146 | + {/* <MenuItem eventKey='cross_chain_in'>Cross Chain In</MenuItem> */} | |
147 | + {/* <MenuItem eventKey='cross_chain_out'>Cross Chain Out</MenuItem> */} | |
148 | 148 | </DropdownButton> |
149 | 149 | </div> |
150 | 150 | </FormSection> |
@@ -25,9 +25,10 @@ class Form extends React.Component { | ||
25 | 25 | componentDidMount() { |
26 | 26 | if (!this.props.autocompleteIsBalanceLoaded) { |
27 | 27 | this.props.fetchBalanceAll().then(() => { |
28 | - this.props.getVoteDetail().then(()=>{ | |
29 | - this.props.didLoadBalanceAutocomplete() | |
30 | - }) | |
28 | + // this.props.getVoteDetail().then(()=>{ | |
29 | + // this.props.didLoadBalanceAutocomplete() | |
30 | + // }) | |
31 | + this.props.didLoadBalanceAutocomplete() | |
31 | 32 | }) |
32 | 33 | } |
33 | 34 | if (!this.props.autocompleteIsAssetLoaded) { |
@@ -133,11 +134,11 @@ class Form extends React.Component { | ||
133 | 134 | onClick={(e) => this.showForm(e, 'vote')}> |
134 | 135 | {t('transaction.new.vote')} |
135 | 136 | </button> |
136 | - <button | |
137 | + {/* <button | |
137 | 138 | className={`btn btn-default ${this.props.crossChainSelected && 'active'}`} |
138 | 139 | onClick={(e) => this.showForm(e, 'crossChain')}> |
139 | 140 | {t('transaction.new.crossChain')} |
140 | - </button> | |
141 | + </button> */} | |
141 | 142 | <button |
142 | 143 | className={`btn btn-default ${this.props.issueAssetSelected && 'active'}`} |
143 | 144 | onClick={(e) => this.showForm(e, 'issueAsset')}> |
@@ -106,8 +106,8 @@ | ||
106 | 106 | flex-direction: column; |
107 | 107 | |
108 | 108 | >div:first-of-type{ |
109 | - width: 60%; | |
110 | - min-width: 350px; | |
109 | + // width: 60%; | |
110 | + // min-width: 350px; | |
111 | 111 | } |
112 | 112 | } |
113 | 113 |