mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
add minute to UNIT_TYPES. Fix yup validations when all-time filter returne start date = end date
This commit is contained in:
parent
64d9a196cc
commit
fde2be4900
7 changed files with 7 additions and 7 deletions
|
|
@ -26,7 +26,7 @@ const schema = {
|
|||
GET: yup.object().shape({
|
||||
id: yup.string().uuid().required(),
|
||||
startAt: yup.number().integer().required(),
|
||||
endAt: yup.number().integer().moreThan(yup.ref<number>('startAt')).required(),
|
||||
endAt: yup.number().integer().min(yup.ref<number>('startAt')).required(),
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue