From 1fd84d4856bdaa75f3fcbacfefe305a01dbe5ea3 Mon Sep 17 00:00:00 2001 From: Don Hardman Date: Sat, 12 Nov 2022 09:52:39 +0000 Subject: [PATCH] Add Posts & replies tab to user profile --- src/app/backend-api.service.ts | 4 +++- .../creator-profile-details.component.html | 21 ++++++++++++++++++- .../creator-profile-posts.component.ts | 4 +++- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/app/backend-api.service.ts b/src/app/backend-api.service.ts index 05368374..ed253c66 100644 --- a/src/app/backend-api.service.ts +++ b/src/app/backend-api.service.ts @@ -1519,7 +1519,8 @@ export class BackendApiService { ReaderPublicKeyBase58Check: string, LastPostHashHex: string, NumToFetch: number, - MediaRequired: boolean + MediaRequired: boolean, + includeComments: boolean ): Observable { return this.post(endpoint, BackendRoutes.RoutePathGetPostsForPublicKey, { PublicKeyBase58Check, @@ -1528,6 +1529,7 @@ export class BackendApiService { LastPostHashHex, NumToFetch, MediaRequired, + includeComments, }); } diff --git a/src/app/creator-profile-page/creator-profile-details/creator-profile-details.component.html b/src/app/creator-profile-page/creator-profile-details/creator-profile-details.component.html index e307bfe2..c6e52d76 100644 --- a/src/app/creator-profile-page/creator-profile-details/creator-profile-details.component.html +++ b/src/app/creator-profile-page/creator-profile-details/creator-profile-details.component.html @@ -16,7 +16,7 @@ > @@ -85,6 +85,25 @@ + + +
+ +
+ + {{ "creator_profile_details.you_blocked_0" | transloco }} {{ profile.Username + }}{{ "creator_profile_details.you_blocked_1" | transloco }} + {{ "creator_profile_details.unblock_0" | transloco }} + {{ "creator_profile_details.unblock_1" | transloco }} + +
+
+
{