From 3f45eb569b0d5834783695c15f4922291655c2ce Mon Sep 17 00:00:00 2001 From: Zalenski Egor Date: Fri, 20 Dec 2024 15:40:40 +0100 Subject: [PATCH] RIVS-328 - Incorrect total --- .../keys-tree/components/keys-tree-header/KeysTreeHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webviews/src/modules/keys-tree/components/keys-tree-header/KeysTreeHeader.tsx b/src/webviews/src/modules/keys-tree/components/keys-tree-header/KeysTreeHeader.tsx index 4bd807e1..b717ef49 100644 --- a/src/webviews/src/modules/keys-tree/components/keys-tree-header/KeysTreeHeader.tsx +++ b/src/webviews/src/modules/keys-tree/components/keys-tree-header/KeysTreeHeader.tsx @@ -70,7 +70,7 @@ export const KeysTreeHeader = ({ database, open, dbTotal, children }: Props) => database={database} loading={loading} scanned={scanned} - total={showTree ? total : (dbTotal ?? null)} + total={total ?? dbTotal ?? null} dbIndex={dbIndex} resultsLength={resultsLength} showTree={showTree}