diff --git a/front/src/components/notifications/NotificationRow.vue b/front/src/components/notifications/NotificationRow.vue
index 361c50397..08835683f 100644
--- a/front/src/components/notifications/NotificationRow.vue
+++ b/front/src/components/notifications/NotificationRow.vue
@@ -9,6 +9,11 @@ import { useStore } from '~/store'
import axios from 'axios'
+import Alert from '~/components/ui/Alert.vue'
+import Button from '~/components/ui/Button.vue'
+import Layout from '~/components/ui/Layout.vue'
+import Spacer from '~/components/ui/Spacer.vue'
+
interface Props {
initialItem: Notification
}
@@ -79,13 +84,13 @@ const notificationData = computed(() => {
user: activity.object.target?.full_username }),
acceptFollow: {
buttonClass: 'success',
- icon: 'check',
+ icon: 'bi-check',
label: t('components.notifications.NotificationRow.button.approve'),
handler: () => approveUserFollow(userFollow)
},
rejectFollow: {
buttonClass: 'danger',
- icon: 'x',
+ icon: 'bi-x',
label: t('components.notifications.NotificationRow.button.reject'),
handler: () => rejectUserFollow(userFollow)
}
@@ -175,14 +180,19 @@ const rejectUserFollow = async (follow: components["schemas"]["Follow"]) => {
-
-
+ {{ notificationData.acceptFollow.label }}
+
+
+
-
-
-
-
+
-
{{ t('views.Notifications.empty.notifications') }}