diff options
author | Phil Hughes <me@iamphill.com> | 2016-09-13 11:27:16 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-09-13 11:27:16 +0100 |
commit | 3e855b247f7a1df63130d6ac9a005a8cf6d5c135 (patch) | |
tree | 6e9725994e115d118e80a7ed8f9d631edb0a1c4f /app | |
parent | f7be904afa2edf731e87f1f60918c0d82234eff4 (diff) | |
download | gitlab-ce-issue-boards-large-height-load.tar.gz |
Fixed issue boards loading issues on large screensissue-boards-large-height-load
Closes #22092
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/boards/components/board_list.js.es6 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/boards/components/board_list.js.es6 b/app/assets/javascripts/boards/components/board_list.js.es6 index 50fc11d7737..474805c1437 100644 --- a/app/assets/javascripts/boards/components/board_list.js.es6 +++ b/app/assets/javascripts/boards/components/board_list.js.es6 @@ -34,6 +34,11 @@ }, issues () { this.$nextTick(() => { + if (this.scrollHeight() <= this.listHeight() && this.list.issuesSize > this.list.issues.length) { + this.list.page++; + this.list.getIssues(false); + } + if (this.scrollHeight() > this.listHeight()) { this.showCount = true; } else { |