fix(frontend): show member list on user page

This commit is contained in:
hanabi 2022-11-20 21:58:41 -05:00
parent 3a640e4bcd
commit 050a27a389

View file

@ -41,7 +41,7 @@ export default function PersonPage({ person }: { person: Person }) {
<LabelList content={person.names ?? []} /> <LabelList content={person.names ?? []} />
<LabelList content={person.pronouns ?? []} /> <LabelList content={person.pronouns ?? []} />
<FieldCardGrid fields={person.fields ?? []} /> <FieldCardGrid fields={person.fields ?? []} />
{"user" in person && <MemberList user={person as any as User} />} {!("user" in person) && <MemberList user={person as any as User} />}
</div> </div>
</> </>
); );