fix: add cassettes 3 and 4 to the notification overrides
This commit is contained in:
parent
0a605e9346
commit
cf0b61137d
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ const getNotifications = (cryptoCurrency, machine, config) => {
|
|||
const findByMachine = _.find(_.matches({ machine }))
|
||||
|
||||
const cryptoFields = ['cryptoHighBalance', 'cryptoLowBalance', 'highBalance', 'lowBalance']
|
||||
const fiatFields = ['fiatBalanceCassette1', 'fiatBalanceCassette2']
|
||||
const fiatFields = ['fiatBalanceCassette1', 'fiatBalanceCassette2', 'fiatBalanceCassette3', 'fiatBalanceCassette4']
|
||||
|
||||
const getCryptoSettings = _.compose(_.pick(cryptoFields), _.defaultTo(notifications), findByCryptoCurrency)
|
||||
const cryptoSettings = getCryptoSettings(notifications.cryptoBalanceOverrides)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue