mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-08 03:18:36 +03:00
Need clarification on USE_ASSOCIATION_DESCRIPTIONS for narrativise feature
This commit is contained in:
@@ -25,6 +25,7 @@ module.exports = {
|
||||
features: {
|
||||
USE_CATEGORIES: true,
|
||||
USE_NARRATIVES: true,
|
||||
FILTERS_AS_NARRATIVES: false,
|
||||
CATEGORIES_AS_FILTERS: true,
|
||||
USE_ASSOCIATIONS: true,
|
||||
USE_ASSOCIATION_DESCRIPTIONS: true,
|
||||
|
||||
@@ -20,7 +20,7 @@ import StaticPage from './StaticPage'
|
||||
import TemplateCover from './TemplateCover'
|
||||
|
||||
import colors from '../common/global'
|
||||
import { binarySearch, insetSourceFrom, findDescriptionInFilterTree } from '../common/utilities'
|
||||
import { binarySearch, insetSourceFrom } from '../common/utilities'
|
||||
import { isMobile } from 'react-device-detect'
|
||||
|
||||
class Dashboard extends React.Component {
|
||||
@@ -143,7 +143,7 @@ class Dashboard extends React.Component {
|
||||
return
|
||||
}
|
||||
|
||||
if (this.props.features.USE_FILTER_DESCRIPTIONS) {
|
||||
if (this.props.features.USE_ASSOCIATION_DESCRIPTIONS) {
|
||||
activeFilters = activeFilters.reduce((acc, vl) => {
|
||||
acc.push({
|
||||
name: vl,
|
||||
|
||||
Reference in New Issue
Block a user