Search maturity; Service status

This commit is contained in:
James Barnsley
2016-11-06 15:47:37 +13:00
parent 5b2604583f
commit b55bec8494
23 changed files with 7323 additions and 6816 deletions

View File

@ -2,6 +2,10 @@
export default function reducer(pusher = {}, action){
switch (action.type) {
case 'PUSHER_CONNECT':
case 'PUSHER_CONNECTING':
return Object.assign({}, pusher, { connected: false, connecting: true });
case 'PUSHER_CONNECTED':
return Object.assign({}, pusher, {
connected: true,