Skip to content

Commit

Permalink
Fixed bug w/ editing reports to only contain URL filter
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisischris committed Aug 10, 2024
1 parent ecacd44 commit 12086a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/protected/reports/edit-report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const EditReport = () => {


useEffect(() => {
setIsFormValid(selectedFilters.some(filter => ['properties', 'url'].includes(filter.type)));
setIsFormValid(selectedFilters.some(filter => ['properties', 'urls'].includes(filter.type)));
}, [selectedFilters]);

const { data: report } = useQuery({
Expand Down

0 comments on commit 12086a2

Please sign in to comment.