fix: disable zero conf limit on cash-out
This commit is contained in:
parent
97123fb5c3
commit
d420dd0a7e
1 changed files with 19 additions and 19 deletions
|
|
@ -36,12 +36,12 @@ const DenominationsSchema = Yup.object().shape({
|
|||
.min(1)
|
||||
.max(CURRENCY_MAX)
|
||||
.nullable()
|
||||
.transform(transformNumber),
|
||||
zeroConfLimit: Yup.number()
|
||||
.label('0-conf Limit')
|
||||
.required()
|
||||
.min(0)
|
||||
.max(CURRENCY_MAX)
|
||||
.transform(transformNumber)
|
||||
// zeroConfLimit: Yup.number()
|
||||
// .label('0-conf Limit')
|
||||
// .required()
|
||||
// .min(0)
|
||||
// .max(CURRENCY_MAX)
|
||||
})
|
||||
|
||||
const getElements = (machines, locale = {}, classes) => {
|
||||
|
|
@ -99,19 +99,19 @@ const getElements = (machines, locale = {}, classes) => {
|
|||
1
|
||||
)
|
||||
|
||||
elements.push({
|
||||
name: 'zeroConfLimit',
|
||||
header: '0-conf Limit',
|
||||
size: 'sm',
|
||||
stripe: true,
|
||||
textAlign: 'right',
|
||||
width: widthsByNumberOfCassettes[maxNumberOfCassettes].zeroConf,
|
||||
input: NumberInput,
|
||||
inputProps: {
|
||||
decimalPlaces: 0
|
||||
},
|
||||
suffix: fiatCurrency
|
||||
})
|
||||
// elements.push({
|
||||
// name: 'zeroConfLimit',
|
||||
// header: '0-conf Limit',
|
||||
// size: 'sm',
|
||||
// stripe: true,
|
||||
// textAlign: 'right',
|
||||
// width: widthsByNumberOfCassettes[maxNumberOfCassettes].zeroConf,
|
||||
// input: NumberInput,
|
||||
// inputProps: {
|
||||
// decimalPlaces: 0
|
||||
// },
|
||||
// suffix: fiatCurrency
|
||||
// })
|
||||
|
||||
return elements
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue