Fix: notification override alerts not being sent

This commit is contained in:
Cesar 2020-12-10 12:14:39 +00:00 committed by Josh Harvey
parent eaac41d277
commit 1913390eae
2 changed files with 3 additions and 3 deletions

View file

@ -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
? {

View file

@ -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'