Skip to content
Snippets Groups Projects
Commit 9152ead4 authored by Dima Rifai's avatar Dima Rifai
Browse files

Issue #399 - Only show Witness Properties when user is actually a witness

parent bd5f9bc3
No related branches found
No related tags found
1 merge request!532Delrifai/#399 cannot read string error
Pipeline #114165 failed
...@@ -89,7 +89,7 @@ const AccountDetailsSection: React.FC<AccountDetailsSectionProps> = ({ ...@@ -89,7 +89,7 @@ const AccountDetailsSection: React.FC<AccountDetailsSectionProps> = ({
accountName={accountName} accountName={accountName}
liveDataEnabled={liveDataEnabled} liveDataEnabled={liveDataEnabled}
/> />
{!isWitnessDetailsError && !!witnessDetails && ( { accountDetails.is_witness && !isWitnessDetailsError && !!witnessDetails && (
<AccountDetailsCard <AccountDetailsCard
header="Witness Properties" header="Witness Properties"
userDetails={witnessDetails} userDetails={witnessDetails}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment