Make notes editable only on user profile
This commit is contained in:
parent
a35fa29a6b
commit
2e25120192
5 changed files with 11 additions and 6 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<span>{{ $t('user_card.note') }}</span>
|
||||
<div class="buttons">
|
||||
<button
|
||||
v-show="!editing"
|
||||
v-show="!editing && editable"
|
||||
class="button-default btn"
|
||||
@click="startEditing"
|
||||
>
|
||||
|
|
@ -77,7 +77,6 @@
|
|||
}
|
||||
|
||||
.note-text {
|
||||
line-height: 2;
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue