aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.vue
diff options
context:
space:
mode:
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 c7305b78..e10eff00 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -109,6 +109,9 @@
</i18n>
</small>
</span>
+ <span v-if="notification.type === 'pleroma:report'">
+ <small>{{ $t('notifications.submitted_report') }}</small>
+ </span>
</div>
<div
v-if="isStatusNotification"
@@ -183,6 +186,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"