diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-05 01:59:46 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-05 01:59:46 +0200 |
commit | 926eea89b51196821d49c7216f38faf0aedb4b09 (patch) | |
tree | b0d44dffa1ed95451c95d75b6c884edf9c0dd049 /app/assets/javascripts/components/actions | |
parent | 413e700fe027ed7a4fdac325a9369d1481d52458 (diff) |
RemoveStatusService fleshed out, still doesn't send Salmon slaps though
Diffstat (limited to 'app/assets/javascripts/components/actions')
-rw-r--r-- | app/assets/javascripts/components/actions/timelines.jsx | 9 |
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 + }; +} |