From c9d40236e3e06991bb538d4b17f372d9f3139f7f Mon Sep 17 00:00:00 2001 From: kchepikava Date: Fri, 26 Jul 2024 13:42:52 +0200 Subject: [PATCH] RI-5959 fixed showttl not working --- .../key-details/components/hash-details/HashDetails.tsx | 4 ++-- .../components/key-details-subheader/KeyDetailsSubheader.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/HashDetails.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/HashDetails.tsx index e2fb5fd6f7..fd6ce4be2c 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/HashDetails.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/HashDetails.tsx @@ -82,12 +82,12 @@ const HashDetails = (props: Props) => {
{!loading && (
- +
)} {isAddItemPanelOpen && (
- +
)}
diff --git a/redisinsight/ui/src/pages/browser/modules/key-details/components/key-details-subheader/KeyDetailsSubheader.tsx b/redisinsight/ui/src/pages/browser/modules/key-details/components/key-details-subheader/KeyDetailsSubheader.tsx index 3af65e1af7..0473afb403 100644 --- a/redisinsight/ui/src/pages/browser/modules/key-details/components/key-details-subheader/KeyDetailsSubheader.tsx +++ b/redisinsight/ui/src/pages/browser/modules/key-details/components/key-details-subheader/KeyDetailsSubheader.tsx @@ -11,7 +11,7 @@ interface Props { showTtl: boolean onShowTtl: (checked: boolean) => void onAddKey: () => void - isExpireFieldsAvailable: boolean + isExpireFieldsAvailable?: boolean } export const KeyDetailsSubheader = ({