GroupMembers update

This commit is contained in:
MyNameIsBatman 2021-09-06 03:14:19 -03:00
parent 3cd6d56b3e
commit 6d0607cb2e
4 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,6 @@
} }
.members-list { .members-list {
height: 300px;
.list-member { .list-member {
border: 1px solid #ced4da; border: 1px solid #ced4da;

View File

@ -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) =>

View File

@ -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;

View File

@ -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') }>