Skip to content

Commit

Permalink
fix JSON file restriction for filter import
Browse files Browse the repository at this point in the history
  • Loading branch information
rthaut committed Jan 23, 2024
1 parent 30b2164 commit 6a30dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/react-apps/components/FiltersImporter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const FiltersImporter = () => {
isDragActive,
isDragReject,
} = useDropzone({
accept: "application/json",
accept: { "application/json": [".json"] },
});

const readFileData = (file) =>
Expand Down

0 comments on commit 6a30dfe

Please sign in to comment.