WIP
This commit is contained in:
parent
1fe550fe1e
commit
eea230de60
10 changed files with 42 additions and 47 deletions
|
|
@ -29,7 +29,7 @@ function sameState (a, b) {
|
|||
function checkBalance (rec) {
|
||||
const settings = settingsLoader.settings()
|
||||
const config = configManager.unscoped(settings.config)
|
||||
const lowBalanceThreshold = config.notifications.lowBalanceThreshold
|
||||
const lowBalanceThreshold = config.lowBalanceThreshold
|
||||
return lowBalanceThreshold && rec.fiatBalance < lowBalanceThreshold
|
||||
? {code: 'lowBalance', cryptoCode: rec.cryptoCode, fiatBalance: rec.fiatBalance, fiatCode: rec.fiatCode}
|
||||
: null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue