|
|
|
@ -58,7 +58,7 @@ class AccountDropdowns extends Component { |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
this.indicateIfLoose(keyring.type), |
|
|
|
|
this.indicateIfLoose(keyring), |
|
|
|
|
h('span', { |
|
|
|
|
style: { |
|
|
|
|
marginLeft: '20px', |
|
|
|
@ -75,8 +75,9 @@ class AccountDropdowns extends Component { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
indicateIfLoose (type) { |
|
|
|
|
indicateIfLoose (keyring) { |
|
|
|
|
try { // Sometimes keyrings aren't loaded yet:
|
|
|
|
|
const type = keyring.type |
|
|
|
|
const isLoose = type !== 'HD Key Tree' |
|
|
|
|
return isLoose ? h('.keyring-label', 'LOOSE') : null |
|
|
|
|
} catch (e) { return } |
|
|
|
|