mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
Select only updateNarrative as action to pass to Toolbar
This commit is contained in:
committed by
Lachlan Kermode
parent
58aaadc5d4
commit
6dee9fee2f
@@ -43,7 +43,7 @@ function updateNarrative(appState, action) {
|
||||
// Add some margin to the datetime extent
|
||||
minDate = minDate - ((maxDate - minDate) / 20);
|
||||
maxDate = maxDate + ((maxDate - minDate) / 20);
|
||||
|
||||
return appState;
|
||||
return Object.assign({}, appState, {
|
||||
narrative: action.narrative,
|
||||
filters: Object.assign({}, appState.filters, {
|
||||
|
||||
Reference in New Issue
Block a user