Skip to content

Commit

Permalink
Fix Cypress test on Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Sep 25, 2024
1 parent 34da461 commit a11dc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ModalSources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function editorMode(source: SourceSpecification) {
}
if(source.type === 'vector') {
if(source.tiles) return 'tilexyz_vector'
if(source.url!.startsWith("pmtiles://")) return 'pmtiles_vector'
if(source.url && source.url.startsWith("pmtiles://")) return 'pmtiles_vector'
return 'tilejson_vector'
}
if(source.type === 'geojson') {
Expand Down

0 comments on commit a11dc3e

Please sign in to comment.