From dbfb37a756d12520de18cbc59f02c6401407377e Mon Sep 17 00:00:00 2001 From: Liordino Neto Date: Sun, 20 Sep 2020 21:40:55 -0300 Subject: [PATCH] fix: removed unnecessary __typename property on 'All machines' option fix: cryptoCurrencies is a select multiple so it's default should be [] instead of '' --- new-lamassu-admin/src/pages/Commissions/helper.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/new-lamassu-admin/src/pages/Commissions/helper.js b/new-lamassu-admin/src/pages/Commissions/helper.js index e15004ba..ea25c799 100644 --- a/new-lamassu-admin/src/pages/Commissions/helper.js +++ b/new-lamassu-admin/src/pages/Commissions/helper.js @@ -9,8 +9,7 @@ import { ReactComponent as TxOutIcon } from 'src/styling/icons/direction/cash-ou const ALL_MACHINES = { name: 'All Machines', - deviceId: 'ALL_MACHINES', - __typename: 'Machine' + deviceId: 'ALL_MACHINES' } const cashInAndOutHeaderStyle = { marginLeft: 6 } @@ -246,7 +245,7 @@ const defaults = { const overridesDefaults = { machine: null, - cryptoCurrencies: '', + cryptoCurrencies: [], cashIn: '', cashOut: '', fixedFee: '',