about summary refs log tree commit diff
path: root/app/assets/javascripts/components/actions
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/components/actions')
-rw-r--r--app/assets/javascripts/components/actions/timelines.jsx9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/actions/timelines.jsx b/app/assets/javascripts/components/actions/timelines.jsx
index 91f06511a..1fabe5d2c 100644
--- a/app/assets/javascripts/components/actions/timelines.jsx
+++ b/app/assets/javascripts/components/actions/timelines.jsx
@@ -1,6 +1,6 @@
 export const TIMELINE_SET    = 'TIMELINE_SET';
 export const TIMELINE_UPDATE = 'TIMELINE_UPDATE';
-
+export const TIMELINE_DELETE = 'TIMELINE_DELETE';
 
 export function setTimeline(timeline, statuses) {
   return {
@@ -17,3 +17,10 @@ export function updateTimeline(timeline, status) {
     status: status
   };
 }
+
+export function deleteFromTimeline(id) {
+  return {
+    type: TIMELINE_DELETE,
+    id: id
+  };
+}