Skip to content
Snippets Groups Projects
Select Git revision
  • 8dee46917f0883a522aed96eb2c0b2497d15d89c
  • master default protected
2 results

DroidSans-Bold.woff2

Blame
  • workspace.js 559 B
    import ActionTypes from '../actions/action-types';
    
    /**
     * workspaceReducer
     */
    const workspaceReducer = (state = {}, action) => {
      switch (action.type) {
        case ActionTypes.FOCUS_WINDOW:
          return { ...state, focusedWindowId: action.windowId };
        case ActionTypes.SET_WORKSPACE_FULLSCREEN:
          return { ...state, isFullscreenEnabled: action.isFullscreenEnabled };
        case ActionTypes.UPDATE_WORKSPACE_MOSAIC_LAYOUT:
          return { ...state, layout: action.layout };
        default:
          return state;
      }
    };
    
    export { workspaceReducer as default };