Fix decrypted data for blockchain data

This commit is contained in:
DwCay
2022-08-23 11:17:34 +03:00
parent 0a0151d1dd
commit fc977cc43a
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ function ProfileTableItem(props) {
<img className="rounded-full" src={props.image} width="40" height="40" alt={props.property} />
</div>
<div className="flex flex-col w-60">
<div className="font-semibold text-slate-800 text-base">{props.value}</div>
<div className="font-semibold text-slate-800 text-base">{props.status==='Blockchained'?`${props.value.slice(0,4)}****${props.value.slice(props.value.length-4)}`:props.value}</div>
<div className="font-normal text-xxs">{props.property}</div>
</div>
</div>