Skip to content

Commit

Permalink
fix(side-panel-description): fixed side panel for people displays des…
Browse files Browse the repository at this point in the history
…cription
  • Loading branch information
aliraza556 committed Dec 29, 2023
1 parent 9161e13 commit da30d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/app/src/pages/people/Person.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function Person(props: PersonProps) {
</div>
<R style={{ width: hideActions ? 'calc(100% - 80px)' : 'calc(100% - 116px)' }}>
<Title style={{ fontSize: hideActions ? 17 : 20, margin: 0 }}>{owner_alias}</Title>
{description && (
{description && description !== 'description' &&(
<Description
lineRows={hideActions ? 1 : 2}
style={{
Expand Down Expand Up @@ -190,7 +190,7 @@ export default function Person(props: PersonProps) {
</div>
<div style={{ padding: 16 }}>
<DTitle>{owner_alias}</DTitle>
{description && (
{description && description !== 'description' &&(
<DDescription>{description === 'description' ? '' : description}</DDescription>
)}
</div>
Expand Down

0 comments on commit da30d46

Please sign in to comment.