mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +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
|
|
@ -2,7 +2,7 @@ import * as yup from 'yup';
|
|||
|
||||
export const dateRange = {
|
||||
startAt: yup.number().integer().required(),
|
||||
endAt: yup.number().integer().moreThan(yup.ref('startAt')).required(),
|
||||
endAt: yup.number().integer().min(yup.ref('startAt')).required(),
|
||||
};
|
||||
|
||||
export const pageInfo = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue