diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-08-31 16:15:12 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-08-31 16:15:12 +0200 |
commit | 72591cc6d59d774e66d1d42af44bdc00f71f99f8 (patch) | |
tree | e2ab1fba6e9b446b92f065af920483b998a2c2ab /app/assets/javascripts/components/actions/timelines.jsx | |
parent | 92afd296509de82e7550f67064b032db916b1f63 (diff) |
Cleaning up action names and compose drawer
Diffstat (limited to 'app/assets/javascripts/components/actions/timelines.jsx')
-rw-r--r-- | app/assets/javascripts/components/actions/timelines.jsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/actions/timelines.jsx b/app/assets/javascripts/components/actions/timelines.jsx new file mode 100644 index 000000000..91f06511a --- /dev/null +++ b/app/assets/javascripts/components/actions/timelines.jsx @@ -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 + }; +} |