Merge pull request #266 from jameslcj/hotfix_ListenQueryPagination
fix the bug of pagination in listeningToQuery page
This commit is contained in:
commit
5a0dc77a73
@ -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
@ -100,7 +100,7 @@ class ListeningToQuery extends React.Component {
|
||||
}
|
||||
self.setState({
|
||||
dataSource: dataSoureTmp || [],
|
||||
total: data.length
|
||||
total: dataSoureTmp.length || 0
|
||||
});
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user