Skip to content

Commit 02204fc

Browse files
author
Roman.Sergeenko
committed
#RI-2051 - fix tests
1 parent c2085af commit 02204fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

redisinsight/ui/src/pages/browser/components/string-details/StringDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const StringDetails = (props: Props) => {
108108
)}
109109
{isEditItem && (
110110
<InlineItemEditor
111-
initialValue={value}
111+
initialValue={value || ''}
112112
controlsPosition="bottom"
113113
placeholder="Enter Value"
114114
fieldName="value"

redisinsight/ui/src/slices/string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const stringSlice = createSlice({
5252
},
5353
resetStringValue: (state) => {
5454
state.data.key = ''
55-
state.data.value = ''
55+
state.data.value = null
5656
},
5757
},
5858
})

0 commit comments

Comments
 (0)