diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue
index 3aa0a793f0..1a269adf95 100644
--- a/src/components/nav_panel/nav_panel.vue
+++ b/src/components/nav_panel/nav_panel.vue
@@ -19,7 +19,10 @@
- {{ $t("nav.friend_requests") }}
+ {{ $t("nav.friend_requests")}}
+
+ {{currentUser.follow_request_count}}
+
@@ -52,6 +55,12 @@
padding: 0;
}
+.follow-request-count {
+ margin: -6px 10px;
+ background-color: $fallback--bg;
+ background-color: var(--input, $fallback--faint);
+}
+
.nav-panel li {
border-bottom: 1px solid;
border-color: $fallback--border;
diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue
index a6c6f2373f..8eca7b8c90 100644
--- a/src/components/side_drawer/side_drawer.vue
+++ b/src/components/side_drawer/side_drawer.vue
@@ -45,6 +45,10 @@
{{ $t("nav.friend_requests") }}
+
+ {{currentUser.follow_request_count}}
+
+
diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js
index 828c48f9c0..d20ce77f77 100644
--- a/src/services/entity_normalizer/entity_normalizer.service.js
+++ b/src/services/entity_normalizer/entity_normalizer.service.js
@@ -117,6 +117,9 @@ export const parseUser = (data) => {
output.statuses_count = data.statuses_count
output.friends = []
output.followers = []
+ if (data.pleroma) {
+ output.follow_request_count = data.pleroma.follow_request_count
+ }
return output
}