mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 23:22:06 -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>
|
<div>{!members && <Preloader type="ring" />}</div>
|
||||||
{members && (
|
{members && (
|
||||||
<CollapsibleSection
|
<CollapsibleSection
|
||||||
sticky
|
//sticky //will re-add later, need to fix css
|
||||||
id="members"
|
id="members"
|
||||||
defaultValue
|
defaultValue
|
||||||
summary={
|
summary={<span>
|
||||||
<Category
|
|
||||||
variant="uniform"
|
|
||||||
text={
|
|
||||||
<span>
|
|
||||||
<Text id="app.main.categories.members" />{" "}
|
<Text id="app.main.categories.members" />{" "}
|
||||||
— {users.length}
|
— {users.length}
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
/>
|
|
||||||
}>
|
>
|
||||||
{users.length === 0 && <img src={placeholderSVG} />}
|
{users.length === 0 && <img src={placeholderSVG} />}
|
||||||
{users.map(
|
{users.map(
|
||||||
(user) =>
|
(user) =>
|
||||||
|
|
Loading…
Reference in a new issue