Skip to content

Commit

Permalink
fix: missing filters
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Apr 24, 2024
1 parent 4f28862 commit 495750a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/fishing-map/features/datasets/datasets.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@ export const datasetHasSchemaFields = (dataset: Dataset, schema: SupportedDatase
return false
}
if (
schemaConfig.type === 'range' ||
schemaConfig.type === 'array' ||
schemaConfig.type === 'boolean' ||
schemaConfig.type === 'range'
schemaConfig.type === 'boolean'
) {
const schemaEnum = schemaConfig?.enum || schemaConfig?.items?.enum
return schemaEnum !== undefined && schemaEnum.length > 0
Expand Down

0 comments on commit 495750a

Please sign in to comment.