convert to lodash
This commit is contained in:
parent
d26ce117fd
commit
48dd23c11d
2 changed files with 46 additions and 23 deletions
|
|
@ -440,7 +440,7 @@ function plugins (settings, deviceId) {
|
|||
const lowBalanceThreshold = config.lowBalanceThreshold
|
||||
|
||||
return rec.fiatBalance.balance <= lowBalanceThreshold
|
||||
? {code: 'lowBalance', cryptoCode: rec.cryptoCode, fiatBalance: rec.fiatBalance, fiatCode: rec.fiatCode}
|
||||
? {code: Symbol('LOW_BALANCE'), cryptoCode: rec.cryptoCode, fiatBalance: rec.fiatBalance, fiatCode: rec.fiatCode}
|
||||
: null
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue