Cleaning up action names and compose drawer
This commit is contained in:
parent
92afd29650
commit
72591cc6d5
29 changed files with 468 additions and 151 deletions
19
app/assets/javascripts/components/actions/timelines.jsx
Normal file
19
app/assets/javascripts/components/actions/timelines.jsx
Normal file
|
@ -0,0 +1,19 @@
|
|||
export const TIMELINE_SET = 'TIMELINE_SET';
|
||||
export const TIMELINE_UPDATE = 'TIMELINE_UPDATE';
|
||||
|
||||
|
||||
export function setTimeline(timeline, statuses) {
|
||||
return {
|
||||
type: TIMELINE_SET,
|
||||
timeline: timeline,
|
||||
statuses: statuses
|
||||
};
|
||||
}
|
||||
|
||||
export function updateTimeline(timeline, status) {
|
||||
return {
|
||||
type: TIMELINE_UPDATE,
|
||||
timeline: timeline,
|
||||
status: status
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue