diff --git a/client/src/actions/show.js b/client/src/actions/show.js index 32c4d47c..807d4f02 100644 --- a/client/src/actions/show.js +++ b/client/src/actions/show.js @@ -136,7 +136,7 @@ export function onUpdateChannelClaims (channelKey, name, longId, page) { export function updateChannelClaims (channelListId, claimsData) { return { - type: actions.CHANNEL_CLAIMS_UPDATE_SUCCESS, + type: actions.CHANNEL_CLAIMS_UPDATE_SUCCEEDED, data: {channelListId, claimsData}, }; } diff --git a/client/src/constants/publish_claim_states.js b/client/src/constants/publish_claim_states.js index 8dff837b..048077a5 100644 --- a/client/src/constants/publish_claim_states.js +++ b/client/src/constants/publish_claim_states.js @@ -1,6 +1,6 @@ export const LOAD_START = 'LOAD_START'; export const LOADING = 'LOADING'; export const PUBLISHING = 'PUBLISHING'; -export const SUCCESS = 'SUCCESS'; +export const SUCCEEDED = 'SUCCEEDED'; export const FAILED = 'FAILED'; export const ABANDONING = 'ABANDONING'; diff --git a/client/src/constants/show_action_types.js b/client/src/constants/show_action_types.js index a2cc511b..41c2db23 100644 --- a/client/src/constants/show_action_types.js +++ b/client/src/constants/show_action_types.js @@ -18,7 +18,7 @@ export const ASSET_REMOVE = 'ASSET_REMOVE'; export const CHANNEL_ADD = 'CHANNEL_ADD'; export const CHANNEL_CLAIMS_UPDATE_ASYNC = 'CHANNEL_CLAIMS_UPDATE_ASYNC'; -export const CHANNEL_CLAIMS_UPDATE_SUCCESS = 'CHANNEL_CLAIMS_UPDATE_SUCCESS'; +export const CHANNEL_CLAIMS_UPDATE_SUCCEEDED = 'CHANNEL_CLAIMS_UPDATE_SUCCEEDED'; // asset/file display actions export const FILE_REQUESTED = 'FILE_REQUESTED'; diff --git a/client/src/containers/PublishStatus/view.jsx b/client/src/containers/PublishStatus/view.jsx index b3f27c0e..b7b82052 100644 --- a/client/src/containers/PublishStatus/view.jsx +++ b/client/src/containers/PublishStatus/view.jsx @@ -42,7 +42,7 @@ class PublishStatus extends React.Component { } - {status === publishStates.SUCCESS && + {status === publishStates.SUCCEEDED &&
Your publish is complete! You are being redirected to it now.
diff --git a/client/src/reducers/show.js b/client/src/reducers/show.js index da80ed75..a93da58b 100644 --- a/client/src/reducers/show.js +++ b/client/src/reducers/show.js @@ -114,7 +114,7 @@ export default function (state = initialState, action) { }, }), }); - case actions.CHANNEL_CLAIMS_UPDATE_SUCCESS: + case actions.CHANNEL_CLAIMS_UPDATE_SUCCEEDED: return Object.assign({}, state, { channelList: Object.assign({}, state.channelList, { [action.data.channelListId]: Object.assign({}, state.channelList[action.data.channelListId], {