Skip to content

Commit d26991b

Browse files
authored
Merge pull request #4747 from xJOAN/master
Fix the issue where the ReportTree component remains in a loading state when the result exceeds MAX_QUERY_SIZE
2 parents 2a434da + ca29717 commit d26991b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/server/vue-cli/src/components/Report/ReportTree/ReportTree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export default {
147147
// in the given file.
148148
ccService.getClient().getRunResults(runIds, limit, offset, sortType,
149149
reportFilter, cmpData, getDetails, handleThriftError(reports => {
150-
if (reports.length === MAX_QUERY_SIZE) {
150+
if (reports.length === MAX_QUERY_SIZE.toNumber()) {
151151
const currentReport =
152152
reports.find(r => r.reportId.equals(this.report.reportId));
153153
if (!currentReport) {

0 commit comments

Comments
 (0)