mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 22:52:09 -05:00
Temp. fix for members list sections
This commit is contained in:
parent
60746b8c21
commit
f88a37f831
1 changed files with 4 additions and 8 deletions
|
@ -240,20 +240,16 @@ export function ServerMemberSidebar({
|
|||
<div>{!members && <Preloader type="ring" />}</div>
|
||||
{members && (
|
||||
<CollapsibleSection
|
||||
sticky
|
||||
//sticky //will re-add later, need to fix css
|
||||
id="members"
|
||||
defaultValue
|
||||
summary={
|
||||
<Category
|
||||
variant="uniform"
|
||||
text={
|
||||
<span>
|
||||
summary={<span>
|
||||
<Text id="app.main.categories.members" />{" "}
|
||||
— {users.length}
|
||||
</span>
|
||||
}
|
||||
/>
|
||||
}>
|
||||
|
||||
>
|
||||
{users.length === 0 && <img src={placeholderSVG} />}
|
||||
{users.map(
|
||||
(user) =>
|
||||
|
|
Loading…
Reference in a new issue