File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/dashboard/Data/Browser Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
* _ Contributing to this repo? Add info about your change here to be included in next release_
6
6
* Fix: Filtering with a 1-digit number (#831 ), thanks to [ Pascal Giguère] ( https://github.com/pgiguere1 )
7
+ * Fix: Databrowser shows correct count of filtered objects, thanks to [ Tom Engelbrecht] ( https://github.com/engel )
7
8
8
9
### 1.1.2
9
10
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ export default class Browser extends DashboardView {
330
330
async fetchData ( source , filters = new List ( ) ) {
331
331
const data = await this . fetchParseData ( source , filters ) ;
332
332
var filteredCounts = { ...this . state . filteredCounts } ;
333
- if ( filters . length > 0 ) {
333
+ if ( filters . size > 0 ) {
334
334
filteredCounts [ source ] = await this . fetchParseDataCount ( source , filters ) ;
335
335
} else {
336
336
delete filteredCounts [ source ] ;
You can’t perform that action at this time.
0 commit comments