Skip to content

Commit

Permalink
Merge branch 'develop' into deck-migration/base-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Apr 24, 2024
2 parents 46b9b70 + e329f46 commit 95a47a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion apps/fishing-map/features/datasets/datasets.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,11 @@ export const datasetHasSchemaFields = (dataset: Dataset, schema: SupportedDatase
if (!schemaConfig) {
return false
}
if (schemaConfig.type === 'array' || schemaConfig.type === 'range') {
if (
schemaConfig.type === 'range' ||
schemaConfig.type === 'array' ||
schemaConfig.type === 'boolean'
) {
const schemaEnum = schemaConfig?.enum || schemaConfig?.items?.enum
return schemaEnum !== undefined && schemaEnum.length > 0
}
Expand Down
2 changes: 1 addition & 1 deletion apps/fishing-map/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@globalfishingwatchapp/fishing-map",
"version": "2.2.3",
"version": "2.2.4",
"private": true,
"scripts": {
"dev": "next",
Expand Down

0 comments on commit 95a47a6

Please sign in to comment.