Merge pull request #266 from jameslcj/hotfix_ListenQueryPagination

fix the bug of pagination in listeningToQuery page
This commit is contained in:
zhichen 2018-11-14 21:35:40 +08:00 committed by GitHub
commit 5a0dc77a73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
#! /usr/bin/env node
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -100,7 +100,7 @@ class ListeningToQuery extends React.Component {
}
self.setState({
dataSource: dataSoureTmp || [],
total: data.length
total: dataSoureTmp.length || 0
});
}
},