Browse Source

settings wif export fix

all-modes
pbca26 8 years ago
parent
commit
7235bb84b4
  1. 2
      react/src/actions/actions/settings.js
  2. 6
      react/src/components/dashboard/settings.js

2
react/src/actions/actions/settings.js

@ -42,7 +42,7 @@ export function getAppInfo() {
export function settingsWifkeyState(json, coin) {
return {
type: GET_WIF_KEY,
wifkey: json[`{$coin}wif`],
wifkey: json[`${coin}wif`],
address: json[coin],
}
}

6
react/src/components/dashboard/settings.js

@ -627,16 +627,16 @@ class Settings extends React.Component {
<div className="row">
<table className={ this.props.Settings && this.props.Settings.address ? 'table show' : 'table hide' }>
<tr>
<td className="width-5-percent">
<td>
<strong>{ this.props.ActiveCoin.coin }</strong>
</td>
<td>{ this.props.Settings.address }</td>
<td className="padding-left-15">{ this.props.Settings.address }</td>
</tr>
<tr>
<td>
<strong>{ this.props.ActiveCoin.coin }Wif</strong>
</td>
<td>{ this.props.Settings.wifkey }</td>
<td className="padding-left-15">{ this.props.Settings.wifkey }</td>
</tr>
</table>
</div>

Loading…
Cancel
Save