File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
redisinsight/ui/src/pages/browser/components/stream-details/groups-view Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ import {
14
14
} from 'uiSrc/slices/browser/stream'
15
15
import { ITableColumn } from 'uiSrc/components/virtual-table/interfaces'
16
16
import PopoverDelete from 'uiSrc/pages/browser/components/popover-delete/PopoverDelete'
17
- import { consumerGroupIdRegex } from 'uiSrc/utils'
17
+ import { consumerGroupIdRegex , validateConsumerGroupId } from 'uiSrc/utils'
18
18
import { getFormatTime } from 'uiSrc/utils/streamUtils'
19
- import { KeyTypes , TableCellTextAlignment } from 'uiSrc/constants'
19
+ import { TableCellTextAlignment } from 'uiSrc/constants'
20
20
import { connectedInstanceSelector } from 'uiSrc/slices/instances/instances'
21
21
import { StreamViewType } from 'uiSrc/slices/interfaces/stream'
22
22
@@ -226,7 +226,7 @@ const GroupsViewWrapper = (props: Props) => {
226
226
id = "id"
227
227
placeholder = "ID*"
228
228
value = { editValue }
229
- onChange = { ( e : any ) => setEditValue ( e . target . value ) }
229
+ onChange = { ( e : any ) => setEditValue ( validateConsumerGroupId ( e . target . value ) ) }
230
230
onBlur = { ( ) => setIsIdFocused ( false ) }
231
231
onFocus = { ( ) => setIsIdFocused ( true ) }
232
232
append = { (
You can’t perform that action at this time.
0 commit comments