You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

reducer.js 417B

1234567891011121314151617
  1. import { ReducerRegistry } from '../base/redux';
  2. import { SIP_GW_AVAILABILITY_CHANGED } from './actionTypes';
  3. ReducerRegistry.register(
  4. 'features/videosipgw', (state = [], action) => {
  5. switch (action.type) {
  6. case SIP_GW_AVAILABILITY_CHANGED: {
  7. return {
  8. ...state,
  9. status: action.status
  10. };
  11. }
  12. }
  13. return state;
  14. });