mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
Loads index when locations are finally available in props; added through componentDidUpdate method
This commit is contained in:
@@ -76,7 +76,6 @@ export function insetSourceFrom (allSources) {
|
||||
sources = []
|
||||
} else {
|
||||
sources = event.sources.map(id => {
|
||||
// const id = typeof src === 'object' ? src.id : src
|
||||
return allSources.hasOwnProperty(id) ? allSources[id] : null
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user