|
@@ -45,10 +45,6 @@ class WBLiveLogs extends Component { |
|
|
render({}, { content, page, numPages }) {
|
|
|
render({}, { content, page, numPages }) {
|
|
|
return (
|
|
|
return (
|
|
|
<div>
|
|
|
<div>
|
|
|
<a href="#" onclick={ e => {
|
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
|
this.fetchData();
|
|
|
|
|
|
} }>Refresh</a>
|
|
|
|
|
|
<WBPagination activePage={ page } numPages={ numPages }
|
|
|
<WBPagination activePage={ page } numPages={ numPages }
|
|
|
onPageChanged={ page => { this.state.page = page; this.fetchData(); } } />
|
|
|
onPageChanged={ page => { this.state.page = page; this.fetchData(); } } />
|
|
|
<pre class="word-warp terminal">
|
|
|
<pre class="word-warp terminal">
|
|
@@ -60,7 +56,7 @@ class WBLiveLogs extends Component { |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
WBLiveLogs.defaultProps = {
|
|
|
WBLiveLogs.defaultProps = {
|
|
|
itemsPerPage: 100
|
|
|
|
|
|
|
|
|
itemsPerPage: 1000
|
|
|
};
|
|
|
};
|
|
|
|
|
|
|
|
|
export default WBLiveLogs;
|
|
|
export default WBLiveLogs;
|