From 9152ead4395e71e3dbfc9878292bffcda2230b86 Mon Sep 17 00:00:00 2001 From: Dima Rifai <dima.rifai@gmail.com> Date: Mon, 27 Jan 2025 16:21:05 +0200 Subject: [PATCH] Issue #399 - Only show Witness Properties when user is actually a witness --- components/account/AccountDetailsSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/account/AccountDetailsSection.tsx b/components/account/AccountDetailsSection.tsx index 76749644..f485b291 100644 --- a/components/account/AccountDetailsSection.tsx +++ b/components/account/AccountDetailsSection.tsx @@ -89,7 +89,7 @@ const AccountDetailsSection: React.FC<AccountDetailsSectionProps> = ({ accountName={accountName} liveDataEnabled={liveDataEnabled} /> - {!isWitnessDetailsError && !!witnessDetails && ( + { accountDetails.is_witness && !isWitnessDetailsError && !!witnessDetails && ( <AccountDetailsCard header="Witness Properties" userDetails={witnessDetails} -- GitLab