rm console; improve default config

This commit is contained in:
Lachlan Kermode
2018-12-10 12:00:23 +00:00
parent ccd917f73b
commit 4d1ee4538e
2 changed files with 4 additions and 5 deletions

View File

@@ -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)

View File

@@ -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
}
}