mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
e565e03130
* API client to create and get an app license * Fixes unhandled promise rejection errors in redux config * License Page and Form * Adds getLicense action * Adds License key area to App Settings Form * Use license.token instead of license.license * Implement API client * Adds key icon to License Form * Adds License Success component * Render License Success on License Page when there is a license * Adds persistent flash actions and reducer to redux * Adds nag message middleware * Moves FlashMessage component to flash_message directory * Adds Persistent Flash component * Renders Persistent Flash component from Core Layout * Adds Kyle's styles * Change license validation message * Finishing touches for app config form license area * Handle revoked licenses * License Page hits setup endpoint * Display server errors on license form * Changes 0 allowed hosts to unlimited * Trims JWT token before sending to the server * GET setup page after submitting license
24 lines
719 B
JavaScript
24 lines
719 B
JavaScript
import { combineReducers } from 'redux';
|
|
import { loadingBarReducer } from 'react-redux-loading-bar';
|
|
import { routerReducer } from 'react-router-redux';
|
|
|
|
import app from './nodes/app/reducer';
|
|
import auth from './nodes/auth/reducer';
|
|
import components from './nodes/components/reducer';
|
|
import entities from './nodes/entities/reducer';
|
|
import notifications from './nodes/notifications/reducer';
|
|
import persistentFlash from './nodes/persistent_flash/reducer';
|
|
import redirectLocation from './nodes/redirectLocation/reducer';
|
|
|
|
export default combineReducers({
|
|
app,
|
|
auth,
|
|
components,
|
|
entities,
|
|
loadingBar: loadingBarReducer,
|
|
notifications,
|
|
persistentFlash,
|
|
redirectLocation,
|
|
routing: routerReducer,
|
|
});
|