mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-18 21:36:27 +01:00
Merge branch 'dev' of https://github.com/billsonnn/nitro-react into dev
This commit is contained in:
commit
b4c69fba43
@ -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') }>
|
||||||
|
@ -125,7 +125,7 @@ export const InfoStandWidgetUserView: FC<InfoStandWidgetUserViewProps> = props =
|
|||||||
</div>
|
</div>
|
||||||
<hr className="m-0 my-1" />
|
<hr className="m-0 my-1" />
|
||||||
<div className="bg-light-dark rounded py-1 px-2 small">
|
<div className="bg-light-dark rounded py-1 px-2 small">
|
||||||
{ userData.type !== RoomWidgetUpdateInfostandUserEvent.OWN_USER && <div className="motto-content">{ motto }</div> }
|
{ userData.type !== RoomWidgetUpdateInfostandUserEvent.OWN_USER && <div className="motto-content w-100 text-wrap text-break">{ motto }</div> }
|
||||||
{ userData.type === RoomWidgetUpdateInfostandUserEvent.OWN_USER &&
|
{ userData.type === RoomWidgetUpdateInfostandUserEvent.OWN_USER &&
|
||||||
<div className="d-flex justify-content-between align-items-center">
|
<div className="d-flex justify-content-between align-items-center">
|
||||||
<i className="small fas fa-pencil-alt me-2"></i>
|
<i className="small fas fa-pencil-alt me-2"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user