Skip to content

Commit

Permalink
region may not show
Browse files Browse the repository at this point in the history
  • Loading branch information
pablouser1 committed Aug 21, 2024
1 parent c4f3a80 commit bc9ff01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/views/user.latte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
<p>Hearts: {number($info->stats->heartCount)} / Videos: {$info->stats->videoCount}</p>
{embed '../components/details.latte', title: "Details"}
{block content}
<p>Region: {$info->detail->region}</p>
{if isset($info->detail->region)}
<p>Region: {$info->detail->region}</p>
{/if}
{if $info->detail->commerceUserInfo->commerceUser}
<p>Category: {$info->detail->commerceUserInfo->category}</p>
{/if}
Expand Down

0 comments on commit bc9ff01

Please sign in to comment.