mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
add MapShapes, analog of MapSites
This commit is contained in:
@@ -15,6 +15,10 @@ export const getSites = (state) => {
|
||||
}
|
||||
export const getSources = state => {
|
||||
if (process.env.features.USE_SOURCES) return state.domain.sources
|
||||
return {}
|
||||
}
|
||||
export const getShapes = state => {
|
||||
if (process.env.features.USE_SHAPES) return state.domain.shapes
|
||||
return []
|
||||
}
|
||||
export const getNotifications = state => state.domain.notifications
|
||||
|
||||
Reference in New Issue
Block a user