소스 검색

adjust name

itizawa 5 년 전
부모
커밋
1d4dfd2bdb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/client/js/services/PageHistoryContainer.js

+ 1 - 1
src/client/js/services/PageHistoryContainer.js

@@ -74,7 +74,7 @@ export default class PageHistoryContainer extends Container {
     let lastId = rev.length - 1;
 
     // If the number of rev count is the same, the last rev is for diff display, so exclude it.
-    if (rev.length === this.state.pagingLimit + 1) {
+    if (rev.length === pagingLimitForShow + 1) {
       lastId = rev.length - 2;
     }