mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 20:39:44 +01:00
remove required yup filters on insights report
This commit is contained in:
parent
1a47f594c2
commit
30c32dca7d
@ -38,18 +38,14 @@ const schema = {
|
|||||||
)
|
)
|
||||||
.min(1)
|
.min(1)
|
||||||
.required(),
|
.required(),
|
||||||
filters: yup
|
filters: yup.array().of(
|
||||||
.array()
|
|
||||||
.of(
|
|
||||||
yup.object().shape({
|
yup.object().shape({
|
||||||
name: yup.string().required(),
|
name: yup.string().required(),
|
||||||
type: yup.string().required(),
|
type: yup.string().required(),
|
||||||
filter: yup.string().required(),
|
filter: yup.string().required(),
|
||||||
value: yup.string().required(),
|
value: yup.string().required(),
|
||||||
}),
|
}),
|
||||||
)
|
),
|
||||||
.min(1)
|
|
||||||
.required(),
|
|
||||||
groups: yup.array().of(
|
groups: yup.array().of(
|
||||||
yup.object().shape({
|
yup.object().shape({
|
||||||
name: yup.string().required(),
|
name: yup.string().required(),
|
||||||
|
Loading…
Reference in New Issue
Block a user