From 78248f3788b7baaa00086e71c4efbf3828f657fb Mon Sep 17 00:00:00 2001 From: GordiNoki Date: Tue, 23 Jul 2024 22:48:01 +0300 Subject: [PATCH] fix(front): Hide steam button for placeholder and deleted profiles --- .../frontend/src/app/pages/profile/profile.component.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/frontend/src/app/pages/profile/profile.component.html b/apps/frontend/src/app/pages/profile/profile.component.html index 270c12c8c..45e945a3d 100644 --- a/apps/frontend/src/app/pages/profile/profile.component.html +++ b/apps/frontend/src/app/pages/profile/profile.component.html @@ -23,9 +23,11 @@ @if (user.country && user.country.length === 2) { } - - - + @if (!hasRole(Role.PLACEHOLDER) && !hasRole(Role.DELETED)) { + + + + }
@if (!isLocal && localUserService.user | async) {