Skip to content

Commit 3f45eb5

Browse files
RIVS-328 - Incorrect total
1 parent e6d65ff commit 3f45eb5

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

Lines changed: 1 addition & 1 deletion
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)