diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-09 17:04:15 +0300 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:27 +0200 |
| commit | 0bc393e41c5b238c1d95a49ede3dec45b4ed527e (patch) | |
| tree | 0698fe17a8f22c1eb771fdad869714414f48df92 /src/actions/projects.js | |
| parent | 67a771cbb02ec9da3c60704901f3150b46a7262b (diff) | |
Add action buttons to project rows
Diffstat (limited to 'src/actions/projects.js')
| -rw-r--r-- | src/actions/projects.js | 8 |
1 files changed, 8 insertions, 0 deletions
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 + }; +}; |
