aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-08-09 21:56:15 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-08-09 21:56:15 +0000
commit750696643ffde27c1e8ae5a50253bbee5bfc4249 (patch)
tree0d6cf88d2ae191f79b604057d5a06b322b77d2aa /src/components/notification/notification.vue
parent7773e7de6454a7ecd79b695ba27cccabeaca184e (diff)
parent572f28d7c9efea4300cb88063baf4daab91e7910 (diff)
Merge branch 'feat/report-notification' into 'develop'
#949 Feat/report notification See merge request pleroma/pleroma-fe!1322
Diffstat (limited to 'src/components/notification/notification.vue')
-rw-r--r--src/components/notification/notification.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue
index d2b903f6..6a5417b3 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -121,6 +121,9 @@
</i18n-t>
</small>
</span>
+ <span v-if="notification.type === 'pleroma:report'">
+ <small>{{ $t('notifications.submitted_report') }}</small>
+ </span>
<span v-if="notification.type === 'poll'">
<FAIcon
class="type-icon"
@@ -211,6 +214,10 @@
@{{ notification.target.screen_name_ui }}
</router-link>
</div>
+ <Report
+ v-else-if="notification.type === 'pleroma:report'"
+ :report-id="notification.report.id"
+ />
<template v-else>
<StatusContent
class="faint"