From f7315d405d6a49df42d02645f1e852ea94fe92a2 Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Wed, 9 Oct 2024 00:01:11 +0200 Subject: [PATCH] ui: Fix --- basicswap/js_server.py | 4 +--- basicswap/static/js/offerstable.js | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/basicswap/js_server.py b/basicswap/js_server.py index 2bce88e..0e3ad55 100644 --- a/basicswap/js_server.py +++ b/basicswap/js_server.py @@ -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 diff --git a/basicswap/static/js/offerstable.js b/basicswap/static/js/offerstable.js index 756a062..af17f4c 100644 --- a/basicswap/static/js/offerstable.js +++ b/basicswap/static/js/offerstable.js @@ -1220,7 +1220,6 @@ function createDetailsColumn(offer) { Recipient: ${escapeHtml(addrFrom.substring(0, 10))}... - `; }