mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-30 08:50:51 +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();
|
const parser = event.getParser();
|
||||||
|
|
||||||
if(parser.flag || groupId !== parser.id) return;
|
if(parser.flag || groupId !== parser.id) return;
|
||||||
|
console.log(parser);
|
||||||
setGroupInformation(null);
|
setGroupInformation(null);
|
||||||
setGroupInformation(parser);
|
setGroupInformation(parser);
|
||||||
}, [ groupId ]);
|
}, [ groupId ]);
|
||||||
@ -110,7 +110,7 @@ export const GroupRoomInformationView: FC<{}> = props =>
|
|||||||
<i className={ 'fas fa-chevron-' + (isExpended ? 'up' : 'down') } />
|
<i className={ 'fas fa-chevron-' + (isExpended ? 'up' : 'down') } />
|
||||||
</div>
|
</div>
|
||||||
{ isExpended && <>
|
{ 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">
|
<div className="group-badge flex-shrink-0 me-1">
|
||||||
<BadgeImageView badgeCode={ groupInformation.badge } isGroup={ true } />
|
<BadgeImageView badgeCode={ groupInformation.badge } isGroup={ true } />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user