diff --git a/src/components/Card.jsx b/src/components/Card.jsx
index 8fc9f56..9bca2fc 100644
--- a/src/components/Card.jsx
+++ b/src/components/Card.jsx
@@ -108,7 +108,7 @@ class Card extends React.Component {
}
renderNarrative () {
- const links = this.props.getNarrativeLinks(this.props.event)
+ // const links = this.props.getNarrativeLinks(this.props.event)
if (links !== null) {
return (
@@ -148,9 +148,9 @@ class Card extends React.Component {
renderExtra () {
return (
- {this.renderFilters()}
+ {/* {this.renderFilters()} */}
{this.renderSources()}
- {this.renderNarrative()}
+ {/* {this.renderNarrative()} */}
)
}
diff --git a/src/components/CardStack.jsx b/src/components/CardStack.jsx
index 9893190..c4dd233 100644
--- a/src/components/CardStack.jsx
+++ b/src/components/CardStack.jsx
@@ -66,7 +66,7 @@ class CardStack extends React.Component {
language={this.props.language}
isLoading={this.props.isLoading}
isSelected={selections[idx]}
- getNarrativeLinks={this.props.getNarrativeLinks}
+ // getNarrativeLinks={this.props.getNarrativeLinks}
getCategoryGroup={this.props.getCategoryGroup}
getCategoryColor={this.props.getCategoryColor}
getCategoryLabel={this.props.getCategoryLabel}
diff --git a/src/components/Layout.js b/src/components/Layout.js
index a6bff0d..4e290ae 100644
--- a/src/components/Layout.js
+++ b/src/components/Layout.js
@@ -143,20 +143,21 @@ class Dashboard extends React.Component {
return
}
- if (this.props.features.USE_ASSOCIATION_DESCRIPTIONS) {
- activeFilters = activeFilters.reduce((acc, vl) => {
- acc.push({
- name: vl,
- description: findDescriptionInFilterTree(vl, domain.filters)
- })
- return acc
- }, [])
- } else {
- activeFilters = activeFilters.map(f => ({ name: f }))
- }
+ // if (this.props.features.USE_ASSOCIATION_DESCRIPTIONS) {
+ // activeFilters = activeFilters.reduce((acc, vl) => {
+ // acc.push({
+ // name: vl,
+ // description: findDescriptionInFilterTree(vl, domain.filters)
+ // })
+ // return acc
+ // }, [])
+ // } else {
+ // activeFilters = activeFilters.map(f => ({ name: f }))
+ // }
+ activeFilters = activeFilters.map(f => ({ name: f }))
const evs = domain.events.filter(ev => {
- let hasOne = false
+ let hasOne = false
// add event if it has at least one matching filter
for (let i = 0; i < activeFilters.length; i++) {
if (ev.filters.includes(activeFilters[i].name)) {