ui: Fix revoke button showing on revoked offers.

master^2
tecnovert 7 months ago
parent e62e9eb0bf
commit c27ac833d1
  1. 2
      basicswap/ui/page_offers.py

@ -602,7 +602,7 @@ def page_offer(self, url_split, post_string):
'created_at': offer.created_at, 'created_at': offer.created_at,
'expired_at': offer.expire_at, 'expired_at': offer.expire_at,
'sent': offer.was_sent, 'sent': offer.was_sent,
'was_revoked': 'True' if offer.active_ind == 2 else 'False', 'was_revoked': True if offer.active_ind == 2 else False,
'show_bid_form': show_bid_form, 'show_bid_form': show_bid_form,
'show_edit_form': show_edit_form, 'show_edit_form': show_edit_form,
'amount_negotiable': offer.amount_negotiable, 'amount_negotiable': offer.amount_negotiable,

Loading…
Cancel
Save