Skip to content

Commit 9c6d18e

Browse files
authored
Merge pull request #240 from RedisInsight/feature/RIVS-328_incorrect_total
RIVS-328 - Incorrect total
2 parents e6d65ff + 3f45eb5 commit 9c6d18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webviews/src/modules/keys-tree/components/keys-tree-header/KeysTreeHeader.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const KeysTreeHeader = ({ database, open, dbTotal, children }: Props) =>
7070
database={database}
7171
loading={loading}
7272
scanned={scanned}
73-
total={showTree ? total : (dbTotal ?? null)}
73+
total={total ?? dbTotal ?? null}
7474
dbIndex={dbIndex}
7575
resultsLength={resultsLength}
7676
showTree={showTree}

0 commit comments

Comments
 (0)