forked from AkkomaGang/akkoma-fe
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
This commit is contained in:
commit
399bd6f25c
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class='block' v-if='isOtherUser'>
|
<div class='block' v-if='isOtherUser && loggedIn'>
|
||||||
<span v-if='user.statusnet_blocking'>
|
<span v-if='user.statusnet_blocking'>
|
||||||
<button @click="unblockUser" class="base04 base00-background pressed">
|
<button @click="unblockUser" class="base04 base00-background pressed">
|
||||||
{{ $t('user_card.blocked') }}
|
{{ $t('user_card.blocked') }}
|
||||||
|
@ -150,7 +150,7 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import '../../_variables.scss';
|
@import '../../_variables.scss';
|
||||||
|
|
||||||
.profile-panel-background {
|
.profile-panel-background {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
Loading…
Reference in a new issue