File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed
smart-components/ChannelSettings/components Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export const MemberList = (): ReactElement => {
7070 user = { member }
7171 currentUser = { sdk . currentUser . userId }
7272 action = {
73- ( userId !== member . userId )
73+ ( channel ?. myRole === 'operator' && userId !== member . userId )
7474 ? ( { actionRef, parentRef } ) => (
7575 < ContextMenu
7676 menuTrigger = { ( toggleDropdown ) => (
Original file line number Diff line number Diff line change @@ -52,11 +52,6 @@ const UserListItem = ({
5252 COMPONENT_NAME , ...injectingClassNames ,
5353 ] . join ( ' ' ) }
5454 >
55- {
56- user . isMuted && (
57- < MutedAvatarOverlay />
58- )
59- }
6055 < ContextMenu
6156 menuTrigger = { ( toggleDropdown ) => (
6257 < Avatar
@@ -100,6 +95,11 @@ const UserListItem = ({
10095 </ MenuItems >
10196 ) }
10297 />
98+ {
99+ user . isMuted && (
100+ < MutedAvatarOverlay />
101+ )
102+ }
103103 < Label
104104 className = { `${ COMPONENT_NAME } __title` }
105105 type = { LabelTypography . SUBTITLE_1 }
@@ -137,7 +137,7 @@ const UserListItem = ({
137137 {
138138 action && (
139139 < div ref = { actionRef } className = { `${ COMPONENT_NAME } __action` } >
140- { action ( { actionRef, parentRef } ) }
140+ { action ( { actionRef, parentRef } ) }
141141 </ div >
142142 )
143143 }
Original file line number Diff line number Diff line change 1515 position : absolute ;
1616 top : 8px ;
1717 left : 0px ;
18- z-index : 1 ;
1918 cursor : pointer ;
2019 }
2120
2221 .sendbird-muted-avatar {
2322 position : absolute ;
2423 top : 8px ;
2524 left : 0px ;
26- z-index : 2 ;
2725 pointer-events : none ;
2826 }
2927
You can’t perform that action at this time.
0 commit comments