|
|
@ -44,12 +44,12 @@
|
|
|
|
<span class="text-gray-900 dark:text-white">{{ friend.username }}</span>
|
|
|
|
<span class="text-gray-900 dark:text-white">{{ friend.username }}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="friend.status == 'pending'" class="flex space-x-2">
|
|
|
|
<div *ngIf="friend.status == 'pending'" class="flex space-x-2">
|
|
|
|
<button class="p-2 bg-green-500 text-white rounded-full">
|
|
|
|
<button (click)="onAcceptOrDeny(friend.friend_user_id, 'accept')" class="p-2 bg-green-500 text-white rounded-full">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
|
|
|
</svg>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button class="p-2 bg-red-500 text-white rounded-full">
|
|
|
|
<button (click)="onAcceptOrDeny(friend.friend_user_id, 'deny')" class="p-2 bg-red-500 text-white rounded-full">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
|
|
|
|
</svg>
|
|
|
|
</svg>
|
|
|
|