forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
888d4e95a3
commit
321568abe6
4 changed files with 12 additions and 18 deletions
|
@ -136,7 +136,7 @@ export default class FeaturePipeline {
|
|||
// Passthrough to passed function, except that it registers as well
|
||||
handleFeatureSource(src)
|
||||
src.features.addCallbackAndRunD((fs) => {
|
||||
fs.forEach((ff) => state.allElements.addOrGetElement(ff.feature))
|
||||
fs.forEach((ff) => state.allElements.addOrGetElement(<any>ff.feature))
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue