Skip to content

Commit

Permalink
fix: MET-2035 update title
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-TaiTruong committed May 4, 2024
1 parent 97193e6 commit 0ca2f09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,14 @@ const DelegationDetailInfo: React.FC<IDelegationDetailInfo> = ({ data, loading,
}}
/>
)}
<CustomTooltip title={data?.poolName || poolId}>
<CustomTooltip title={data?.poolName || data?.poolView || poolId}>
<HeaderTitle>
{data?.poolName ? (
data?.poolName
) : (
<TruncateSubTitleContainer>
<DynamicEllipsisText
value={data?.poolName || data?.poolName || poolId}
value={data?.poolName || data?.poolView || poolId}
sxFirstPart={{ maxWidth: width > 600 ? "calc(100% - 130px)" : "calc(100% - 50px)" }}
postfix={5}
isNoLimitPixel={true}
Expand Down

0 comments on commit 0ca2f09

Please sign in to comment.