Check if logged-in when rendering the block button.

This commit is contained in:
shpuld 2017-11-09 10:33:10 +02:00
parent 56a0665b2f
commit 72806b4a99

View file

@ -46,7 +46,7 @@
</button>
</span>
</div>
<div class='block' v-if='isOtherUser'>
<div class='block' v-if='isOtherUser && loggedIn'>
<span v-if='user.statusnet_blocking'>
<button @click="unblockUser" class="base04 base00-background pressed">
{{ $t('user_card.blocked') }}