mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 12:55:23 +02:00
fix(edge): fix frontend issues with omitempty EE-6260 (#10536)
This commit is contained in:
parent
824706e4e9
commit
ee80e3d252
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ import { FormValues } from './types';
|
|||
export function validationSchema(): SchemaOf<FormValues> {
|
||||
return object()
|
||||
.shape({
|
||||
EnableEdgeComputeFeatures: boolean().required('This field is required.'),
|
||||
EnforceEdgeID: boolean().required('This field is required.'),
|
||||
EnableEdgeComputeFeatures: boolean().default(false),
|
||||
EnforceEdgeID: boolean().default(false),
|
||||
})
|
||||
.concat(
|
||||
isBE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue