Make notes editable only on user profile

This commit is contained in:
Tusooa Zhu 2022-09-07 18:46:18 -04:00 committed by tusooa
commit 2e25120192
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
5 changed files with 11 additions and 6 deletions

View file

@ -269,10 +269,10 @@
<RemoteFollow :user="user" />
</div>
<UserNote
v-if="loggedIn && isOtherUser && supportsNote"
v-if="loggedIn && isOtherUser && (hasNote || (hasNoteEditor && supportsNote))"
:user="user"
:relationship="relationship"
:editing="isEditingNote"
:editable="hasNoteEditor"
/>
</div>
</div>