File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
redisinsight/ui/src/components Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,11 @@ const KeysSummary = (props: Props) => {
35
35
36
36
const resultsLength = items . length
37
37
const scannedDisplay = resultsLength > scanned ? resultsLength : scanned
38
+ const notAccurateScanned = totalItemsCount
39
+ && scanned >= totalItemsCount
40
+ && nextCursor
41
+ && nextCursor !== '0'
42
+ ? '~' : ''
38
43
39
44
return (
40
45
< >
@@ -51,7 +56,7 @@ const KeysSummary = (props: Props) => {
51
56
</ b >
52
57
< EuiTextColor color = "subdued" >
53
58
{ 'Scanned ' }
54
- < span data-testid = "keys-number-of-scanned" > { numberWithSpaces ( scannedDisplay ) } </ span >
59
+ < span data-testid = "keys-number-of-scanned" > { notAccurateScanned } { numberWithSpaces ( scannedDisplay ) } </ span >
55
60
{ ' / ' }
56
61
< span data-testid = "keys-total" > { nullableNumberWithSpaces ( totalItemsCount ) } </ span >
57
62
< span
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const ScanMore = ({
31
31
nextCursor,
32
32
} : Props ) => (
33
33
< >
34
- { ( ( scanned < totalItemsCount || isNull ( totalItemsCount ) ) )
34
+ { ( ( scanned || isNull ( totalItemsCount ) ) )
35
35
&& nextCursor !== '0'
36
36
&& (
37
37
< EuiButton
You can’t perform that action at this time.
0 commit comments