From 2e2512019230f299c2c9eae18afec3c8218d2697 Mon Sep 17 00:00:00 2001 From: Tusooa Zhu Date: Wed, 7 Sep 2022 18:46:18 -0400 Subject: Make notes editable only on user profile --- src/components/user_note/user_note.js | 3 ++- src/components/user_note/user_note.vue | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/user_note') diff --git a/src/components/user_note/user_note.js b/src/components/user_note/user_note.js index dc5b8e71..830b2e59 100644 --- a/src/components/user_note/user_note.js +++ b/src/components/user_note/user_note.js @@ -1,7 +1,8 @@ const UserNote = { props: { user: Object, - relationship: Object + relationship: Object, + editable: Boolean }, data () { return { diff --git a/src/components/user_note/user_note.vue b/src/components/user_note/user_note.vue index 328e2350..4286e017 100644 --- a/src/components/user_note/user_note.vue +++ b/src/components/user_note/user_note.vue @@ -6,7 +6,7 @@ {{ $t('user_card.note') }}