This commit is contained in:
gerlofvanek 2024-10-09 00:01:11 +02:00
parent bcd251c4df
commit f7315d405d
2 changed files with 1 additions and 4 deletions

View file

@ -230,9 +230,7 @@ def js_offers(self, url_split, post_string, is_json, sent=False) -> bytes:
'rate': ci_to.format_amount(o.rate),
'min_bid_amount': ci_from.format_amount(o.min_bid_amount),
'is_expired': o.expire_at <= swap_client.getTime(),
'is_own_offer': o.was_sent,
'amount_variable': o.amount_negotiable,
'rate_variable': o.rate_negotiable
'is_own_offer': o.was_sent
}
if with_extra_info:
offer_data['amount_negotiable'] = o.amount_negotiable

View file

@ -1220,7 +1220,6 @@ function createDetailsColumn(offer) {
<a data-tooltip-target="tooltip-recipient${escapeHtml(offer.offer_id)}" href="/identity/${escapeHtml(addrFrom)}">
<span class="bold">Recipient:</span> ${escapeHtml(addrFrom.substring(0, 10))}...
</a>
<div class="partial hidden"><span class="bold">Amount Variable:</span> ${amountVariable ? 'Yes' : 'No'}</div>
</td>
`;
}