Skip to content

Commit

Permalink
Fix Cypress shortcut d test
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Dec 28, 2024
1 parent 677d85c commit 5f12832
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 'tile_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 5f12832

Please sign in to comment.