IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Pārlūkot izejas kodu

Refresh button in WBLiveLogs not necessary with pagination.

master
Stanislaw Adaszewski pirms 4 gadiem
vecāks
revīzija
fe4eaba244
1 mainītis faili ar 1 papildinājumiem un 5 dzēšanām
  1. +1
    -5
      frontend/src/js/component/wb-live-logs.js

+ 1
- 5
frontend/src/js/component/wb-live-logs.js Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt