update build
This commit is contained in:
parent
e5b79a8400
commit
d91ec1773c
1 changed files with 7 additions and 2 deletions
9
dist/bundle.es.js
vendored
9
dist/bundle.es.js
vendored
|
@ -3522,17 +3522,22 @@ function doResolveUri(uri) {
|
||||||
return doResolveUris([uri]);
|
return doResolveUris([uri]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function doFetchClaimListMine(page = 1, pageSize = 99999, resolve = true) {
|
function doFetchClaimListMine(page = 1, pageSize = 99999, resolve = true, filterBy = []) {
|
||||||
return dispatch => {
|
return dispatch => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: FETCH_CLAIM_LIST_MINE_STARTED
|
type: FETCH_CLAIM_LIST_MINE_STARTED
|
||||||
});
|
});
|
||||||
|
|
||||||
|
let claimTypes = ['stream', 'repost'];
|
||||||
|
if (filterBy && filterBy.length !== 0) {
|
||||||
|
claimTypes = claimTypes.filter(t => filterBy.includes(t));
|
||||||
|
}
|
||||||
|
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
lbryProxy.claim_list({
|
lbryProxy.claim_list({
|
||||||
page: page,
|
page: page,
|
||||||
page_size: pageSize,
|
page_size: pageSize,
|
||||||
claim_type: ['stream', 'repost'],
|
claim_type: claimTypes,
|
||||||
resolve
|
resolve
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
dispatch({
|
dispatch({
|
||||||
|
|
Loading…
Add table
Reference in a new issue