diff --git a/source/actions.js b/source/actions.js index d55637aaa..5160d932a 100644 --- a/source/actions.js +++ b/source/actions.js @@ -30,5 +30,3 @@ export function changeThemeColour(colour) {return {type: CHANGE_THEME_COLOUR, co export const EXPLAIN_VARIABLE = 'EXPLAIN_VARIABLE' - -export const POINT_OUT_OBJECTIVES = 'POINT_OUT_OBJECTIVES' diff --git a/source/components/Results.css b/source/components/Results.css index 7c296dd3e..80ba36482 100644 --- a/source/components/Results.css +++ b/source/components/Results.css @@ -135,23 +135,6 @@ width: 100%; } -#results li:not(.pointedOut):hover .rule-box { - background: #ddd; -} -#results li.irrelevant .rule-box { - background: rgba(255, 255, 255, 0.35); -} - -#results li.pointedOut:not(.irrelevant) .rule-name { - color: #4A89DC; -} -#results li.pointedOut .rule-type { - color: #4A89DC; -} - -#results li.pointedOut .rule-box { - border-bottom: .8em solid #4A89DC; -} #results li.number p { color: #4A89DC; font-weight: bold; diff --git a/source/components/Results.js b/source/components/Results.js index edaa9e34a..2e8a85234 100644 --- a/source/components/Results.js +++ b/source/components/Results.js @@ -18,7 +18,6 @@ let humanFigure = decimalDigits => value => fmt(value.toFixed(decimalDigits)) @withRouter @connect( state => ({ - pointedOutObjectives: state.pointedOutObjectives, analysedSituation: state.analysedSituation, conversationStarted: !R.isEmpty(state.form), conversationFirstAnswer: R.path(['form', 'conversation', 'values'])(state), @@ -29,7 +28,6 @@ export default class Results extends Component { render() { let { analysedSituation, - pointedOutObjectives, conversationStarted, conversationFirstAnswer: showResults, situationGate, @@ -70,12 +68,9 @@ export default class Results extends Component { unsatisfied = ruleValue == null, nonApplicableValue = nonApplicable ? nonApplicable.nodeValue : false, irrelevant = nonApplicableValue === true || formuleValue == 0, - number = nonApplicableValue == false && formuleValue != null, - pointedOut = - pointedOutObjectives.find(objective => objective == dottedName) - || R.contains(encodeRuleName(name))(location.pathname) + number = nonApplicableValue == false && formuleValue != null - ;