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 Sep 25, 2024
1 parent 34da461 commit d3d4c99
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 d3d4c99

Please sign in to comment.