fix: query when seeing detail of field

This commit is contained in:
Aitor Alonso 2023-07-14 17:37:14 +02:00
parent 8e5da12653
commit 118e1a5b70
No known key found for this signature in database
GPG key ID: 96D85952EE1373E6
3 changed files with 46 additions and 4 deletions

View file

@ -17,6 +17,7 @@ function useFields(websiteId, field, event) {
startAt: +startDate,
endAt: +endDate,
field,
event,
withEventNames: true,
}),
{ enabled: !!(websiteId && startDate && endDate) },