fix: use default thresholds when no overrides exist
This commit is contained in:
parent
99b2861ff8
commit
1fc8aa0269
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ const getNotifications = (cryptoCurrency, machine, config) => {
|
|||
|
||||
const fiatSettings = _.flow(
|
||||
findByMachine,
|
||||
_.defaultTo(notifications),
|
||||
_.assignWith(_.defaultTo, notifications),
|
||||
_.pick(fiatFields),
|
||||
)(notifications.fiatBalanceOverrides)
|
||||
return { ...notifNoOverrides, sms: smsSettings, email: emailSettings, ...cryptoSettings, ...fiatSettings, notificationCenter: notificationCenterSettings }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue