aboutsummaryrefslogtreecommitdiff
path: root/modern/src/actions
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-03-22 19:30:28 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-03-22 19:30:28 -0700
commit990d485a21c945e7d57b85378650a65f3e79eed3 (patch)
treeeb513a337f097607410f4ae48d673dd18c2f1c74 /modern/src/actions
parent80f36b23de8557445623e530708298a557f9fa2e (diff)
downloadtrackermap-web-990d485a21c945e7d57b85378650a65f3e79eed3.tar.gz
trackermap-web-990d485a21c945e7d57b85378650a65f3e79eed3.tar.bz2
trackermap-web-990d485a21c945e7d57b85378650a65f3e79eed3.zip
Handle list clicks
Diffstat (limited to 'modern/src/actions')
-rw-r--r--modern/src/actions/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/modern/src/actions/index.js b/modern/src/actions/index.js
index 8ef49fa8..55278108 100644
--- a/modern/src/actions/index.js
+++ b/modern/src/actions/index.js
@@ -12,3 +12,8 @@ export const updateEvents = events => ({
type: 'UPDATE_EVENTS',
events
})
+
+export const selectDevice = device => ({
+ type: 'SELECT_DEVICE',
+ device
+})