mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
update dimensions of track according to number of categories
This commit is contained in:
@@ -196,6 +196,14 @@ export function updateTimeRange (timerange) {
|
||||
}
|
||||
}
|
||||
|
||||
export const UPDATE_DIMENSIONS = 'UPDATE_DIMENSIONS'
|
||||
export function updateDimensions (dims) {
|
||||
return {
|
||||
type: UPDATE_DIMENSIONS,
|
||||
dims
|
||||
}
|
||||
}
|
||||
|
||||
export const UPDATE_NARRATIVE = 'UPDATE_NARRATIVE'
|
||||
export function updateNarrative (narrative) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user