doFetchTransactions: bump pageSize to 999999; remove doFetchSupport

## Issue
5899 Re-add ability to export transactions
This commit is contained in:
infiinte-persistence 2021-04-20 10:44:40 +08:00
parent 7e17344683
commit e5c0b5f0a6
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 2 additions and 21 deletions

20
dist/bundle.es.js vendored
View file

@ -2906,9 +2906,8 @@ function doBalanceSubscribe() {
};
}
function doFetchTransactions(page = 1, pageSize = 99999) {
function doFetchTransactions(page = 1, pageSize = 999999) {
return dispatch => {
dispatch(doFetchSupports());
dispatch({
type: FETCH_TRANSACTIONS_STARTED
});
@ -2990,23 +2989,6 @@ function doUpdateTxoPageParams(params) {
};
}
function doFetchSupports(page = 1, pageSize = 99999) {
return dispatch => {
dispatch({
type: FETCH_SUPPORTS_STARTED
});
lbryProxy.support_list({ page, page_size: pageSize }).then(result => {
dispatch({
type: FETCH_SUPPORTS_COMPLETED,
data: {
supports: result.items
}
});
});
};
}
function doFetchUtxoCounts() {
return (() => {
var _ref = _asyncToGenerator(function* (dispatch) {

View file

@ -61,9 +61,8 @@ export function doBalanceSubscribe() {
};
}
export function doFetchTransactions(page = 1, pageSize = 99999) {
export function doFetchTransactions(page = 1, pageSize = 999999) {
return dispatch => {
dispatch(doFetchSupports());
dispatch({
type: ACTIONS.FETCH_TRANSACTIONS_STARTED,
});