fix: cassette number on validation schema
This commit is contained in:
parent
4cff0a6953
commit
dd55e6d1f4
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ const FiatBalanceOverrides = ({ section }) => {
|
|||
.max(notesMax)
|
||||
.nullable(),
|
||||
[CASSETTE_2_KEY]: Yup.number()
|
||||
.label('Cassette 1 (bottom)')
|
||||
.label('Cassette 2 (bottom)')
|
||||
.when(CASSETTE_1_KEY, {
|
||||
is: CASSETTE_1_KEY => !CASSETTE_1_KEY,
|
||||
then: Yup.number().required()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue