diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-09-07 18:46:18 -0400 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2022-12-21 23:18:40 -0500 |
| commit | 2e2512019230f299c2c9eae18afec3c8218d2697 (patch) | |
| tree | fa182ab04b29ec3a23ff0d1b6f303f2ef90d337b /src/components/user_card/user_card.vue | |
| parent | a35fa29a6b12d31f403327225d4b38787fe5a0b6 (diff) | |
Make notes editable only on user profile
Diffstat (limited to 'src/components/user_card/user_card.vue')
| -rw-r--r-- | src/components/user_card/user_card.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 88434c59..349c7cb1 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -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> |
