mirror of
https://github.com/maputnik/editor.git
synced 2026-02-10 06:30:00 +00:00
Fix Cypress shortcut d test
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user