mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-18 21:36:27 +01:00
GroupMembers update
This commit is contained in:
parent
3cd6d56b3e
commit
6d0607cb2e
@ -7,8 +7,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.members-list {
|
.members-list {
|
||||||
height: 300px;
|
|
||||||
|
|
||||||
.list-member {
|
.list-member {
|
||||||
border: 1px solid #ced4da;
|
border: 1px solid #ced4da;
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ export const GroupMembersView: FC<GroupMembersViewProps> = props =>
|
|||||||
{
|
{
|
||||||
if(!groupId) return;
|
if(!groupId) return;
|
||||||
|
|
||||||
SendMessageHook(new GroupMembersComposer(groupId, pageId, searchQuery, newLevelId !== null ? newLevelId : searchLevelId));
|
SendMessageHook(new GroupMembersComposer(groupId, pageId, searchQuery, newLevelId !== undefined ? newLevelId : searchLevelId));
|
||||||
}, [ groupId, searchQuery, searchLevelId ]);
|
}, [ groupId, searchQuery, searchLevelId ]);
|
||||||
|
|
||||||
const onGroupMembersEvent = useCallback((event: GroupMembersEvent) =>
|
const onGroupMembersEvent = useCallback((event: GroupMembersEvent) =>
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
.menu-header {
|
.menu-header {
|
||||||
background-color: $william;
|
background-color: $william;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
width: 117px;
|
||||||
|
max-width: 117px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
max-height: 25px;
|
max-height: 25px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -183,7 +183,7 @@ export const FurnitureContextMenuView: FC<{}> = props =>
|
|||||||
</> }
|
</> }
|
||||||
{ (mode === GROUP_FURNITURE) && groupData &&
|
{ (mode === GROUP_FURNITURE) && groupData &&
|
||||||
<>
|
<>
|
||||||
<ContextMenuHeaderView className="cursor-pointer" onClick={ () => GetGroupInformation(groupData.guildId) }>
|
<ContextMenuHeaderView className="cursor-pointer text-truncate" onClick={ () => GetGroupInformation(groupData.guildId) }>
|
||||||
{ groupData.guildName }
|
{ groupData.guildName }
|
||||||
</ContextMenuHeaderView>
|
</ContextMenuHeaderView>
|
||||||
{ !isGroupMember && <ContextMenuListItemView onClick={ event => processAction('join_group') }>
|
{ !isGroupMember && <ContextMenuListItemView onClick={ event => processAction('join_group') }>
|
||||||
|
Loading…
Reference in New Issue
Block a user