From e28b19645aa6a546f8d1980fa479f20d3c48ff36 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 4 Apr 2019 12:56:13 -0400 Subject: [PATCH] #468 - show pin for own statuses only --- src/components/status/status.js | 3 +++ src/components/status/status.vue | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index c52e026a..a3596b69 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -269,6 +269,9 @@ const Status = { this.statusFromGlobalRepository.rebloggedBy ) return uniqBy(combinedUsers, 'id') + }, + ownStatus () { + return this.status.user.id === this.$store.state.users.currentUser.id } }, components: { diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 0a2562c0..0443e758 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -52,10 +52,10 @@ -
+
-
+