aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-12 21:36:10 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-12 21:37:33 +0100
commit6fb07bcb716af76ec2e96345f37624d12d0d1af0 (patch)
tree276191a782dc1d44f78331e548e43ff71758baca /src/actions
parentrefactor server api even more (diff)
downloadferdium-app-6fb07bcb716af76ec2e96345f37624d12d0d1af0.tar.gz
ferdium-app-6fb07bcb716af76ec2e96345f37624d12d0d1af0.tar.zst
ferdium-app-6fb07bcb716af76ec2e96345f37624d12d0d1af0.zip
implements basic release announcement feature
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/index.js6
-rw-r--r--src/actions/service.js1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/actions/index.js b/src/actions/index.js
index 59acabb0b..dc1d3b6b2 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -11,6 +11,7 @@ import payment from './payment';
11import news from './news'; 11import news from './news';
12import settings from './settings'; 12import settings from './settings';
13import requests from './requests'; 13import requests from './requests';
14import announcements from '../features/announcements/actions';
14 15
15const actions = Object.assign({}, { 16const actions = Object.assign({}, {
16 service, 17 service,
@@ -25,4 +26,7 @@ const actions = Object.assign({}, {
25 requests, 26 requests,
26}); 27});
27 28
28export default defineActions(actions, PropTypes.checkPropTypes); 29export default Object.assign(
30 defineActions(actions, PropTypes.checkPropTypes),
31 { announcements },
32);
diff --git a/src/actions/service.js b/src/actions/service.js
index ceaabc31e..ce62560a9 100644
--- a/src/actions/service.js
+++ b/src/actions/service.js
@@ -5,6 +5,7 @@ export default {
5 setActive: { 5 setActive: {
6 serviceId: PropTypes.string.isRequired, 6 serviceId: PropTypes.string.isRequired,
7 }, 7 },
8 blurActive: {},
8 setActiveNext: {}, 9 setActiveNext: {},
9 setActivePrev: {}, 10 setActivePrev: {},
10 showAddServiceInterface: { 11 showAddServiceInterface: {