forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
94c61744c0
commit
04c8ccb0d2
89 changed files with 2353 additions and 1390 deletions
|
@ -131,8 +131,9 @@ export class WithLayoutSourceState extends WithSelectedElementState {
|
|||
|
||||
protected setSelectedElement(feature: Feature) {
|
||||
// The given feature might be a partial one from the cache
|
||||
if(feature !== undefined){
|
||||
feature = this.indexedFeatures.featuresById.data?.get(feature?.properties?.id) ?? feature
|
||||
if (feature !== undefined) {
|
||||
feature =
|
||||
this.indexedFeatures.featuresById.data?.get(feature?.properties?.id) ?? feature
|
||||
}
|
||||
super.setSelectedElement(feature)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue