ui: Fix missing coin from data.

This commit is contained in:
tecnovert
2022-08-10 23:58:53 +02:00
parent 85bbccf82a
commit b179667cc5
3 changed files with 13 additions and 7 deletions

View File

@@ -549,10 +549,13 @@ def page_offers(self, url_split, post_string, sent=False):
o.was_sent,
ci_from.format_amount(completed_amount)))
coins_from, coins_to = listAvailableCoins(swap_client, split_from=True)
template = server.env.get_template('offers.html')
return self.render_template(template, {
'messages': messages,
'coins': listAvailableCoins(swap_client),
'coins_from': coins_from,
'coins': coins_to,
'messages': messages,
'filters': filters,
'offers': formatted_offers,