diff --git a/src/app/components/friend-request/friend-request.component.html b/src/app/components/friend-request/friend-request.component.html
index 24165b7..215961f 100644
--- a/src/app/components/friend-request/friend-request.component.html
+++ b/src/app/components/friend-request/friend-request.component.html
@@ -1,5 +1,5 @@
-@if (friendsRequest().length > 0) {
-
+@if (friendsRequest().length) {
+
@for (request of friendsRequest(); track request.userId; let i = $index) {
@if (i == friendsRequest().length - 1) {
@@ -37,9 +37,15 @@
} @else {
-
-
- Vous n'avez aucune demande d'ami
-
-
+
+
+
+
+
+
+
Ajoutez vos amis
+
Vos demandes d'amis apparaîtront ici
+
+
+
}
\ No newline at end of file
diff --git a/src/app/components/friend-request/friend-request.component.ts b/src/app/components/friend-request/friend-request.component.ts
index c016668..29a30af 100644
--- a/src/app/components/friend-request/friend-request.component.ts
+++ b/src/app/components/friend-request/friend-request.component.ts
@@ -1,6 +1,6 @@
import {Component, inject} from '@angular/core';
import {IonicModule, LoadingController, ToastController} from "@ionic/angular";
-import {checkmarkCircleOutline, closeCircleOutline} from 'ionicons/icons';
+import {checkmarkCircleOutline, closeCircleOutline, peopleOutline} from 'ionicons/icons';
import {addIcons} from "ionicons";
import {PipeComponent} from "../pipe/pipe.component";
import {FriendsService, GetFriendRequestDto} from "../../services/api";
@@ -9,7 +9,8 @@ import {FriendsStateService} from "../../services/friends-state";
addIcons({
'check': checkmarkCircleOutline,
- 'close': closeCircleOutline
+ 'close': closeCircleOutline,
+ 'people-outline': peopleOutline
});
@Component({
diff --git a/src/app/components/friends/friends-list.component.html b/src/app/components/friends/friends-list.component.html
index eb3be0d..db61099 100644
--- a/src/app/components/friends/friends-list.component.html
+++ b/src/app/components/friends/friends-list.component.html
@@ -35,11 +35,17 @@
} @else {
-