Skip to content

Commit 92e2785

Browse files
#RI-3822-fix topnamespace when total = 0
1 parent abb8776 commit 92e2785

File tree

1 file changed

+1
-1
lines changed
  • redisinsight/ui/src/pages/databaseAnalysis/components/top-namespace

1 file changed

+1
-1
lines changed

redisinsight/ui/src/pages/databaseAnalysis/components/top-namespace/TopNamespace.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const TopNamespace = (props: Props) => {
4646
history.push(Pages.browser(instanceId))
4747
}
4848

49-
if (!data?.topMemoryNsp) {
49+
if (!data?.topMemoryNsp || data?.totalKeys?.total === 0) {
5050
return null
5151
}
5252

0 commit comments

Comments
 (0)