Merge pull request #26 from lbryio/channel-list

use CLAIM_LIST instead of CLAIM_LIST_MINE
This commit is contained in:
Sean Yesmunt 2018-05-16 10:52:37 -04:00 committed by GitHub
commit 30c18725d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

4
dist/bundle.js vendored
View file

@ -4663,11 +4663,11 @@ reducers[ACTIONS.FETCH_CLAIM_LIST_MINE_COMPLETED] = function (state, action) {
});
};
reducers[ACTIONS.FETCH_CHANNEL_LIST_MINE_STARTED] = function (state) {
reducers[ACTIONS.FETCH_CHANNEL_LIST_STARTED] = function (state) {
return Object.assign({}, state, { fetchingMyChannels: true });
};
reducers[ACTIONS.FETCH_CHANNEL_LIST_MINE_COMPLETED] = function (state, action) {
reducers[ACTIONS.FETCH_CHANNEL_LIST_COMPLETED] = function (state, action) {
var claims = action.data.claims;
var myChannelClaims = new Set(state.myChannelClaims);

View file

@ -83,10 +83,10 @@ reducers[ACTIONS.FETCH_CLAIM_LIST_MINE_COMPLETED] = (state, action) => {
});
};
reducers[ACTIONS.FETCH_CHANNEL_LIST_MINE_STARTED] = state =>
reducers[ACTIONS.FETCH_CHANNEL_LIST_STARTED] = state =>
Object.assign({}, state, { fetchingMyChannels: true });
reducers[ACTIONS.FETCH_CHANNEL_LIST_MINE_COMPLETED] = (state, action) => {
reducers[ACTIONS.FETCH_CHANNEL_LIST_COMPLETED] = (state, action) => {
const { claims } = action.data;
const myChannelClaims = new Set(state.myChannelClaims);
const byId = Object.assign({}, state.byId);