From d91ec1773c0239bc19cd472d0271ef0fc3a2298e Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 15 Mar 2021 14:20:12 -0400 Subject: [PATCH] update build --- dist/bundle.es.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index e68cf3b..869276b 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -3522,17 +3522,22 @@ function doResolveUri(uri) { return doResolveUris([uri]); } -function doFetchClaimListMine(page = 1, pageSize = 99999, resolve = true) { +function doFetchClaimListMine(page = 1, pageSize = 99999, resolve = true, filterBy = []) { return dispatch => { dispatch({ type: FETCH_CLAIM_LIST_MINE_STARTED }); + let claimTypes = ['stream', 'repost']; + if (filterBy && filterBy.length !== 0) { + claimTypes = claimTypes.filter(t => filterBy.includes(t)); + } + // $FlowFixMe lbryProxy.claim_list({ page: page, page_size: pageSize, - claim_type: ['stream', 'repost'], + claim_type: claimTypes, resolve }).then(result => { dispatch({