mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +01:00
Fix insight.
This commit is contained in:
parent
c67deb68e6
commit
75861bda61
1 changed files with 8 additions and 12 deletions
|
|
@ -38,18 +38,14 @@ const schema = {
|
||||||
)
|
)
|
||||||
.min(1)
|
.min(1)
|
||||||
.required(),
|
.required(),
|
||||||
filters: yup
|
filters: yup.array().of(
|
||||||
.array()
|
yup.object().shape({
|
||||||
.of(
|
name: yup.string().required(),
|
||||||
yup.object().shape({
|
type: yup.string().required(),
|
||||||
name: yup.string().required(),
|
filter: yup.string().required(),
|
||||||
type: yup.string().required(),
|
value: yup.string().required(),
|
||||||
filter: 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…
Add table
Add a link
Reference in a new issue