Skip to content

Commit 0fb8674

Browse files
authored
Merge pull request #3002 from RedisInsight/fe/feature/RI-4989-refactor-json-data-type
Fe/feature/ri 4989 refactor json data type
2 parents 0396da8 + 77be89f commit 0fb8674

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1636
-3601
lines changed

redisinsight/ui/src/pages/browser/components/popover-delete/PopoverDelete.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface Props {
99
text: JSX.Element | string
1010
item: string
1111
itemRaw?: RedisString
12-
suffix: string
12+
suffix?: string
1313
deleting: string
1414
closePopover: () => void
1515
showPopover: (item: string) => void
@@ -26,7 +26,7 @@ const PopoverDelete = (props: Props) => {
2626
text,
2727
item,
2828
itemRaw,
29-
suffix,
29+
suffix = '',
3030
deleting,
3131
closePopover,
3232
updateLoading,

redisinsight/ui/src/pages/browser/modules/key-details-header/KeyDetailsHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const KeyDetailsHeader = ({
7272
const dispatch = useDispatch()
7373

7474
const handleRefreshKey = () => {
75-
dispatch(refreshKey(keyBuffer!, type))
75+
dispatch(refreshKey(keyBuffer!, type, undefined, length))
7676
}
7777

7878
const handleEditTTL = (key: RedisResponseBuffer, ttl: number) => {

redisinsight/ui/src/pages/browser/modules/key-details/components/rejson-details/JSONArray/JSONArray.spec.tsx

Lines changed: 0 additions & 330 deletions
This file was deleted.

0 commit comments

Comments
 (0)