mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Reformatted files with biome.
This commit is contained in:
parent
d51f0641a6
commit
fa8d8055df
558 changed files with 2108 additions and 2379 deletions
|
|
@ -116,8 +116,8 @@ export const goalReportSchema = z.object({
|
|||
property: z.string().optional(),
|
||||
})
|
||||
.refine(data => {
|
||||
if (data['type'] === 'event' && data['property']) {
|
||||
return data['operator'] && data['property'];
|
||||
if (data.type === 'event' && data.property) {
|
||||
return data.operator && data.property;
|
||||
}
|
||||
return true;
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue