From 4d1ee4538e2ad599c314de5a9977e69ce3b97c1e Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Mon, 10 Dec 2018 12:00:23 +0000 Subject: [PATCH] rm console; improve default config --- src/components/Dashboard.jsx | 1 - src/store/initial.js | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx index 493d5e9..4d6ac44 100644 --- a/src/components/Dashboard.jsx +++ b/src/components/Dashboard.jsx @@ -49,7 +49,6 @@ class Dashboard extends React.Component { handleSelect(selected) { if (selected) { let eventsToSelect = selected.map(event => this.getEventById(event.id)); -console.log(eventsToSelect, selected) eventsToSelect = eventsToSelect.sort((a, b) => parseDate(a.timestamp) - parseDate(b.timestamp)) this.props.actions.fetchSelected(eventsToSelect) diff --git a/src/store/initial.js b/src/store/initial.js index a56685a..c387910 100644 --- a/src/store/initial.js +++ b/src/store/initial.js @@ -106,9 +106,9 @@ const initial = { categories: { default: 'red', // Add here other categories to differentiate by color, like: - alpha: '#00ff00', - beta: '#ff0000', - other: 'yellow' + alpha: '#c73e1d', + beta: '#f40000', + other: '#f3de2c' }, narratives: { @@ -121,7 +121,7 @@ const initial = { narrative_1: { style: 'solid', // ['dotted', 'solid'] opacity: 0.4, // range between 0 and 1 - stroke: 'yellow', // Any hex or rgb code + stroke: '#f18f01', // Any hex or rgb code strokeWidth: 2 } }