Fix: notification override alerts not being sent
This commit is contained in:
parent
eaac41d277
commit
1913390eae
2 changed files with 3 additions and 3 deletions
|
|
@ -637,7 +637,7 @@ function plugins (settings, deviceId) {
|
|||
|
||||
const notifications = configManager.getNotifications(null, device.deviceId, settings.config)
|
||||
|
||||
const machineName = device.machineName
|
||||
const machineName = device.name
|
||||
|
||||
const cashInAlert = device.cashbox > notifications.cashInAlertThreshold
|
||||
? {
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import Autocomplete from 'src/components/inputs/formik/Autocomplete'
|
|||
import NotificationsCtx from '../NotificationsContext'
|
||||
import { transformNumber } from '../helper'
|
||||
|
||||
const CASSETTE_1_KEY = 'cassette1'
|
||||
const CASSETTE_2_KEY = 'cassette2'
|
||||
const CASSETTE_1_KEY = 'fiatBalanceCassette1'
|
||||
const CASSETTE_2_KEY = 'fiatBalanceCassette2'
|
||||
const MACHINE_KEY = 'machine'
|
||||
const NAME = 'fiatBalanceOverrides'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue