add resolve parameter to channel_list #274
2 changed files with 4 additions and 4 deletions
4
dist/bundle.es.js
vendored
4
dist/bundle.es.js
vendored
|
@ -3129,7 +3129,7 @@ function doImportChannel(certificate) {
|
|||
};
|
||||
}
|
||||
|
||||
function doFetchChannelListMine(page = 1, pageSize = 99999) {
|
||||
function doFetchChannelListMine(page = 1, pageSize = 99999, resolve = false) {
|
||||
return dispatch => {
|
||||
dispatch({
|
||||
type: FETCH_CHANNEL_LIST_STARTED
|
||||
|
@ -3142,7 +3142,7 @@ function doFetchChannelListMine(page = 1, pageSize = 99999) {
|
|||
});
|
||||
};
|
||||
|
||||
lbryProxy.channel_list({ page, page_size: pageSize }).then(callback);
|
||||
lbryProxy.channel_list({ page, page_size: pageSize, resolve }).then(callback);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -383,7 +383,7 @@ export function doImportChannel(certificate: string) {
|
|||
};
|
||||
}
|
||||
|
||||
export function doFetchChannelListMine(page: number = 1, pageSize: number = 99999) {
|
||||
export function doFetchChannelListMine(page: number = 1, pageSize: number = 99999, resolve: boolean = false) {
|
||||
return (dispatch: Dispatch) => {
|
||||
dispatch({
|
||||
type: ACTIONS.FETCH_CHANNEL_LIST_STARTED,
|
||||
|
@ -396,7 +396,7 @@ export function doFetchChannelListMine(page: number = 1, pageSize: number = 9999
|
|||
});
|
||||
};
|
||||
|
||||
Lbry.channel_list({ page, page_size: pageSize }).then(callback);
|
||||
Lbry.channel_list({ page, page_size: pageSize, resolve }).then(callback);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue