File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
redisinsight/ui/src/pages/browser/components/stream-details/stream-tabs Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import styles from './styles.module.scss'
21
21
22
22
const StreamTabs = ( ) => {
23
23
const { viewType } = useSelector ( streamSelector )
24
- const { data : groups = [ ] } = useSelector ( streamGroupsSelector )
25
24
const { name : selectedGroupName = '' } = useSelector ( selectedGroupSelector ) ?? { }
26
25
const { name : selectedConsumerName = '' } = useSelector ( selectedConsumerSelector ) ?? { }
27
26
@@ -40,7 +39,7 @@ const StreamTabs = () => {
40
39
}
41
40
42
41
const onSelectedTabChanged = ( id : StreamViewType ) => {
43
- if ( id === StreamViewType . Groups && groups . length === 0 ) {
42
+ if ( id === StreamViewType . Groups ) {
44
43
dispatch ( fetchConsumerGroups (
45
44
true ,
46
45
onSuccessLoadedConsumerGroups ,
You can’t perform that action at this time.
0 commit comments