SUCCESS -> SUCCEEDED

This commit is contained in:
Travis Eden 2018-09-25 10:26:25 -04:00
parent 53676e6bc0
commit f710dffd57
5 changed files with 5 additions and 5 deletions

View file

@ -136,7 +136,7 @@ export function onUpdateChannelClaims (channelKey, name, longId, page) {
export function updateChannelClaims (channelListId, claimsData) { export function updateChannelClaims (channelListId, claimsData) {
return { return {
type: actions.CHANNEL_CLAIMS_UPDATE_SUCCESS, type: actions.CHANNEL_CLAIMS_UPDATE_SUCCEEDED,
data: {channelListId, claimsData}, data: {channelListId, claimsData},
}; };
} }

View file

@ -1,6 +1,6 @@
export const LOAD_START = 'LOAD_START'; export const LOAD_START = 'LOAD_START';
export const LOADING = 'LOADING'; export const LOADING = 'LOADING';
export const PUBLISHING = 'PUBLISHING'; export const PUBLISHING = 'PUBLISHING';
export const SUCCESS = 'SUCCESS'; export const SUCCEEDED = 'SUCCEEDED';
export const FAILED = 'FAILED'; export const FAILED = 'FAILED';
export const ABANDONING = 'ABANDONING'; export const ABANDONING = 'ABANDONING';

View file

@ -18,7 +18,7 @@ export const ASSET_REMOVE = 'ASSET_REMOVE';
export const CHANNEL_ADD = 'CHANNEL_ADD'; export const CHANNEL_ADD = 'CHANNEL_ADD';
export const CHANNEL_CLAIMS_UPDATE_ASYNC = 'CHANNEL_CLAIMS_UPDATE_ASYNC'; 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 // asset/file display actions
export const FILE_REQUESTED = 'FILE_REQUESTED'; export const FILE_REQUESTED = 'FILE_REQUESTED';

View file

@ -42,7 +42,7 @@ class PublishStatus extends React.Component {
</Row> </Row>
</div> </div>
} }
{status === publishStates.SUCCESS && {status === publishStates.SUCCEEDED &&
<div className={'status'}> <div className={'status'}>
<Row> <Row>
<p>Your publish is complete! You are being redirected to it now.</p> <p>Your publish is complete! You are being redirected to it now.</p>

View file

@ -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, { return Object.assign({}, state, {
channelList: Object.assign({}, state.channelList, { channelList: Object.assign({}, state.channelList, {
[action.data.channelListId]: Object.assign({}, state.channelList[action.data.channelListId], { [action.data.channelListId]: Object.assign({}, state.channelList[action.data.channelListId], {