Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not show empty reply address #1037

Merged
merged 9 commits into from
Aug 21, 2024
16 changes: 9 additions & 7 deletions library/src/containers/Operations/Operation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,15 @@ export const OperationReplyInfo: React.FunctionComponent<Props> = (props) => {
</span>
</div>
) : (
<div className="text-xs text-gray-700">
Reply will be directed to the address specified at this
location:{' '}
<span className="border text-orange-600 rounded text-xs ml-2 py-0 px-2">
{replyAddress}
</span>
</div>
replyAddress != null && (
<div className="text-xs text-gray-700">
Reply will be directed to the address specified at this
location:{' '}
<span className="border text-orange-600 rounded text-xs ml-2 py-0 px-2">
{replyAddress}
</span>
</div>
)
)}
<div className="mt-2">
{explicitChannel && (
Expand Down
Loading