Temp. fix for members list sections

This commit is contained in:
nizune 2021-07-07 13:37:14 +02:00
parent 60746b8c21
commit f88a37f831

View file

@ -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) =>