Hide profile stats if profile is remote

This commit is contained in:
silverpill 2022-12-29 18:14:16 +00:00
parent 2d262009e1
commit e570a0c24e
2 changed files with 6 additions and 1 deletions

View file

@ -13,3 +13,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed ### Changed
- Changed text on Ethereum page. - Changed text on Ethereum page.
- Not showing profile stats if profile is remote.

View file

@ -157,7 +157,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="stats"> <div v-if="isLocalUser()" class="stats">
<component <component
class="stats-item" class="stats-item"
:is="isCurrentUser() ? 'a' : 'span'" :is="isCurrentUser() ? 'a' : 'span'"
@ -774,6 +774,10 @@ $avatar-size: 170px;
width: 1em; width: 1em;
} }
} }
&:last-child {
border-bottom: none;
}
} }
.stats { .stats {