mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 23:50:52 +01:00
Fix GroupRoomInfo View
This commit is contained in:
parent
17a821d294
commit
0a615dffb6
@ -33,7 +33,7 @@ export const GroupRoomInformationView: FC<{}> = props =>
|
||||
const parser = event.getParser();
|
||||
|
||||
if(parser.flag || groupId !== parser.id) return;
|
||||
|
||||
console.log(parser);
|
||||
setGroupInformation(null);
|
||||
setGroupInformation(parser);
|
||||
}, [ groupId ]);
|
||||
@ -110,7 +110,7 @@ export const GroupRoomInformationView: FC<{}> = props =>
|
||||
<i className={ 'fas fa-chevron-' + (isExpended ? 'up' : 'down') } />
|
||||
</div>
|
||||
{ isExpended && <>
|
||||
<div className="d-flex cursor-pointer" onClick={ () => GetGroupInformation(groupInformation.id) }>
|
||||
<div className="d-flex cursor-pointer" onClick={ () => GetGroupInformation(groupId) }>
|
||||
<div className="group-badge flex-shrink-0 me-1">
|
||||
<BadgeImageView badgeCode={ groupInformation.badge } isGroup={ true } />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user