Skip to content
Snippets Groups Projects
Commit 399bd6f2 authored by lain's avatar lain
Browse files

Merge branch 'fix/dont-show-block-when-logged-out' into 'develop'

Check if logged-in when rendering the block button.

See merge request pleroma/pleroma-fe!145
parents 56a0665b 72806b4a
No related branches found
No related tags found
No related merge requests found
......@@ -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') }}
......@@ -150,7 +150,7 @@
<style lang="scss">
@import '../../_variables.scss';
.profile-panel-background {
background-size: cover;
border-radius: 10px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment