client/src/actions/networkActions.js
changeset 129 d48946d164c6
parent 87 dbcee57de2c6
--- a/client/src/actions/networkActions.js	Tue Jul 25 19:11:26 2017 +0200
+++ b/client/src/actions/networkActions.js	Fri Jul 28 19:40:35 2017 +0200
@@ -7,9 +7,15 @@
   };
 }
 
-export const offlineConfigInitialized = (additionalContext) => {
+export const setOnlineStatus = (status) => {
   return {
-    type: types.OFFLINE_CONFIG_INITIALIZED,
-    additionalContext
+    type: status?types.STATUS_ONLINE:types.STATUS_OFFLINE
   }
 }
+
+
+export const forceSync = () => {
+  return {
+    type: types.SYNC_DO_SYNC
+  }
+}