Browse Source

txhistory table pagesize var fix

v0.25
pbca26 7 years ago
parent
commit
8e616d642c
  1. 6
      react/src/components/dashboard/walletsData/walletsData.js
  2. 2
      react/src/components/dashboard/walletsData/walletsData.render.js

6
react/src/components/dashboard/walletsData/walletsData.js

@ -31,7 +31,7 @@ import io from 'socket.io-client';
const socket = io.connect(`http://127.0.0.1:${Config.agamaPort}`);*/
const BOTTOM_BAR_DISPLAY_THRESHOLD = 10;
const BOTTOM_BAR_DISPLAY_THRESHOLD = 15;
class WalletsData extends React.Component {
constructor(props) {
@ -45,8 +45,8 @@ class WalletsData extends React.Component {
totalStackLength: 0,
useCache: true,
itemsListColumns: this.generateItemsListColumns(),
defaultPageSize: 10,
pageSize: 10,
defaultPageSize: 20,
pageSize: 20,
showPagination: true,
searchTerm: null,
coin: null,

2
react/src/components/dashboard/walletsData/walletsData.render.js

@ -194,7 +194,7 @@ export const TxHistoryListRender = function() {
nextText={ translate('INDEX.NEXT_PAGE') }
previousText={ translate('INDEX.PREVIOUS_PAGE') }
showPaginationBottom={ this.state.showPagination }
pageSize={ this.pageSize }
pageSize={ this.state.pageSize }
defaultSortMethod={ this.tableSorting }
defaultSorted={[{ // default sort
id: 'timestamp',

Loading…
Cancel
Save