From 0bc393e41c5b238c1d95a49ede3dec45b4ed527e Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 9 Aug 2017 17:04:15 +0300 Subject: Add action buttons to project rows --- src/actions/projects.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/actions/projects.js') diff --git a/src/actions/projects.js b/src/actions/projects.js index 57304326..0ab1f820 100644 --- a/src/actions/projects.js +++ b/src/actions/projects.js @@ -3,6 +3,7 @@ export const OPEN_NEW_PROJECT_MODAL = "OPEN_NEW_PROJECT_MODAL"; export const CLOSE_NEW_PROJECT_MODAL = "CLOSE_PROJECT_POPUP"; export const ADD_PROJECT = "ADD_PROJECT"; export const DELETE_PROJECT = "DELETE_PROJECT"; +export const OPEN_PROJECT = "OPEN_PROJECT"; export const setAuthVisibilityFilter = (filter) => { return { @@ -36,3 +37,10 @@ export const deleteProject = (id) => { id }; }; + +export const openProject = (id) => { + return { + type: OPEN_PROJECT, + id + }; +}; -- cgit v1.2.3