Skip to content

Commit

Permalink
chore(ui): simplify ternary statement
Browse files Browse the repository at this point in the history
Co-authored-by: Jost Schulte <[email protected]>
  • Loading branch information
mattyg and jost-s authored Sep 1, 2023
1 parent 9329d79 commit 5d0e17c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/pages/AgentProfile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
:profile="profileWithContext?.profile"
:joined-timestamp="profileWithContext?.joinedTimestamp"
:agentPubKey="agentPubKey"
:creators-count="creatorsCount ? creatorsCount : 0"
:followers-count="followersCount ? followersCount : 0"
:creators-count="creatorsCount || 0"
:followers-count="followersCount || 0"
class="bg-base-200/75 rounded-3xl"
style="-webkit-backdrop-filter: blur(10px)"
enable-copy-agent-pub-key
Expand Down

0 comments on commit 5d0e17c

Please sign in to comment.