mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
WIP: overridden colours and shapes
This commit is contained in:
@@ -35,7 +35,7 @@ export function fetchDomain () {
|
||||
.catch(() => handleError(domainMsg('categories')))
|
||||
|
||||
let narPromise = Promise.resolve([])
|
||||
if (process.env.features.USE_CATEGORIES) {
|
||||
if (process.env.features.USE_NARRATIVES) {
|
||||
narPromise = fetch(NARRATIVE_URL)
|
||||
.then(response => response.json())
|
||||
.catch(() => handleError(domainMsg('narratives')))
|
||||
|
||||
Reference in New Issue
Block a user