diff --git a/react/actions/show.js b/react/actions/show.js index 0712cb26..8dd6b732 100644 --- a/react/actions/show.js +++ b/react/actions/show.js @@ -48,13 +48,6 @@ export function addRequestToRequestList (id, error, key) { // asset actions -// export function addRequestToAssetRequests (id, error, name, claimId) { -// return { -// type: actions.ASSET_REQUEST_ADD, -// data: { id, error, name, claimId }, -// }; -// }; - export function addAssetToAssetList (id, error, name, claimId, shortId, claimData) { return { type: actions.ASSET_ADD, @@ -64,13 +57,6 @@ export function addAssetToAssetList (id, error, name, claimId, shortId, claimDat // channel actions -// export function addRequestToChannelRequests (id, error, name, longId, shortId) { -// return { -// type: actions.CHANNEL_REQUEST_ADD, -// data: { id, error, name, longId, shortId }, -// }; -// }; - export function addNewChannelToChannelList (id, name, shortId, longId, claimsData) { return { type: actions.CHANNEL_ADD, @@ -78,8 +64,6 @@ export function addNewChannelToChannelList (id, name, shortId, longId, claimsDat }; }; -// update channel data - export function onUpdateChannelClaims (channelKey, name, longId, page) { return { type: actions.CHANNEL_CLAIMS_UPDATE_ASYNC, diff --git a/react/sagas/file.js b/react/sagas/file.js index 263da808..66639b23 100644 --- a/react/sagas/file.js +++ b/react/sagas/file.js @@ -15,6 +15,7 @@ function* retrieveFile (action) { return yield put(updateDisplayAssetError(error.message)); }; if (isAvailable) { + yield put(updateDisplayAssetError(null)); return yield put(updateFileAvailability(AVAILABLE)); } yield put(updateFileAvailability(UNAVAILABLE));