From 01525f40affe0378b2c5b2d0505e3a7ab1c63106 Mon Sep 17 00:00:00 2001 From: Fernando Abolafio Date: Sat, 23 May 2020 21:44:00 +0200 Subject: [PATCH] Make sure to pass the exchange host in the fee payment note --- client/core/notification.go | 2 +- client/webserver/site/src/js/markets.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/core/notification.go b/client/core/notification.go index 8324ef8cb5..d7b6b227e6 100644 --- a/client/core/notification.go +++ b/client/core/notification.go @@ -107,7 +107,7 @@ type FeePaymentNote struct { func newFeePaymentNote(subject, details string, severity db.Severity, dexAddr string) *FeePaymentNote { return &FeePaymentNote{ Notification: db.NewNotification("feepayment", subject, details, severity), - Dex: dexAddr, + Dex: addrHost(dexAddr), } } diff --git a/client/webserver/site/src/js/markets.js b/client/webserver/site/src/js/markets.js index 3a7b35b0db..dbe924fd3b 100644 --- a/client/webserver/site/src/js/markets.js +++ b/client/webserver/site/src/js/markets.js @@ -1106,6 +1106,7 @@ function statusString (order) { case statusEpoch: return 'epoch' case statusBooked: return order.cancelling ? 'cancelling' : 'booked' case statusExecuted: return isLive ? 'settling' : 'executed' + case statusCanceled: return isLive ? 'canceled/settling' : 'canceled' case statusRevoked: return isLive ? 'revoked/settling' : 'revoked' } }