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