mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
Fix insight.
This commit is contained in:
parent
c67deb68e6
commit
75861bda61
@ -38,18 +38,14 @@ const schema = {
|
||||
)
|
||||
.min(1)
|
||||
.required(),
|
||||
filters: yup
|
||||
.array()
|
||||
.of(
|
||||
yup.object().shape({
|
||||
name: yup.string().required(),
|
||||
type: yup.string().required(),
|
||||
filter: yup.string().required(),
|
||||
value: yup.string().required(),
|
||||
}),
|
||||
)
|
||||
.min(1)
|
||||
.required(),
|
||||
filters: yup.array().of(
|
||||
yup.object().shape({
|
||||
name: yup.string().required(),
|
||||
type: yup.string().required(),
|
||||
filter: yup.string().required(),
|
||||
value: yup.string().required(),
|
||||
}),
|
||||
),
|
||||
groups: yup.array().of(
|
||||
yup.object().shape({
|
||||
name: yup.string().required(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user