mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
fix: move error store into folder
This commit is contained in:
parent
bd5b60936f
commit
f42dce509c
@ -1,6 +1,6 @@
|
||||
import { connect } from 'react-redux';
|
||||
import ErrorComponent from './error-component';
|
||||
import { muteError } from '../../store/error-actions';
|
||||
import { muteError } from '../../store/error/actions';
|
||||
|
||||
const mapDispatchToProps = {
|
||||
muteError,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import api from '../../data/applications-api';
|
||||
import { dispatchAndThrow } from '../util';
|
||||
import { MUTE_ERROR } from '../error-actions';
|
||||
import { MUTE_ERROR } from '../error/actions';
|
||||
|
||||
export const RECEIVE_ALL_APPLICATIONS = 'RECEIVE_ALL_APPLICATIONS';
|
||||
export const ERROR_RECEIVE_ALL_APPLICATIONS = 'ERROR_RECEIVE_ALL_APPLICATIONS';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { List, Map as $Map } from 'immutable';
|
||||
import { MUTE_ERROR } from './error-actions';
|
||||
import { MUTE_ERROR } from './actions';
|
||||
import {
|
||||
ERROR_FETCH_FEATURE_TOGGLES,
|
||||
ERROR_CREATING_FEATURE_TOGGLE,
|
||||
@ -7,17 +7,17 @@ import {
|
||||
ERROR_UPDATE_FEATURE_TOGGLE,
|
||||
UPDATE_FEATURE_TOGGLE_STRATEGIES,
|
||||
UPDATE_FEATURE_TOGGLE,
|
||||
} from './feature-actions';
|
||||
} from '../feature-actions';
|
||||
|
||||
import { ERROR_UPDATING_STRATEGY, ERROR_CREATING_STRATEGY, ERROR_RECEIVE_STRATEGIES } from './strategy/actions';
|
||||
import { ERROR_UPDATING_STRATEGY, ERROR_CREATING_STRATEGY, ERROR_RECEIVE_STRATEGIES } from '../strategy/actions';
|
||||
|
||||
import { ERROR_ADD_CONTEXT_FIELD, ERROR_UPDATE_CONTEXT_FIELD } from './context/actions';
|
||||
import { ERROR_ADD_CONTEXT_FIELD, ERROR_UPDATE_CONTEXT_FIELD } from '../context/actions';
|
||||
|
||||
import { ERROR_REMOVING_PROJECT, ERROR_ADD_PROJECT, ERROR_UPDATE_PROJECT } from './project/actions';
|
||||
import { ERROR_REMOVING_PROJECT, ERROR_ADD_PROJECT, ERROR_UPDATE_PROJECT } from '../project/actions';
|
||||
|
||||
import { UPDATE_APPLICATION_FIELD } from './application/actions';
|
||||
import { UPDATE_APPLICATION_FIELD } from '../application/actions';
|
||||
|
||||
import { FORBIDDEN } from './util';
|
||||
import { FORBIDDEN } from '../util';
|
||||
|
||||
const debug = require('debug')('unleash:error-store');
|
||||
|
@ -1,7 +1,7 @@
|
||||
import api from '../data/feature-api';
|
||||
const debug = require('debug')('unleash:feature-actions');
|
||||
import { dispatchAndThrow } from './util';
|
||||
import { MUTE_ERROR } from './error-actions';
|
||||
import { MUTE_ERROR } from './error/actions';
|
||||
|
||||
export const ADD_FEATURE_TOGGLE = 'ADD_FEATURE_TOGGLE';
|
||||
export const COPY_FEATURE_TOGGLE = 'COPY_FEATURE_TOGGLE';
|
||||
|
@ -5,7 +5,7 @@ import featureMetrics from './feature-metrics-store';
|
||||
import strategies from './strategy';
|
||||
import history from './history-store'; // eslint-disable-line
|
||||
import archive from './archive';
|
||||
import error from './error-store';
|
||||
import error from './error';
|
||||
import settings from './settings';
|
||||
import user from './user';
|
||||
import applications from './application';
|
||||
|
Loading…
Reference in New Issue
Block a user