gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 03/03: fix fulfillmentUrl in the history rener


From: gnunet
Subject: [taler-wallet-core] 03/03: fix fulfillmentUrl in the history rener
Date: Fri, 31 Jan 2020 15:51:14 +0100

This is an automated email from the git hooks/post-receive script.

marcos-gutierrez pushed a commit to branch master
in repository wallet-core.

commit 4fd80ee8e26f4d4b880df9736c0257456259eb9c
Author: Marcos Gutierrez <address@hidden>
AuthorDate: Fri Jan 31 11:22:13 2020 -0300

    fix fulfillmentUrl in the history rener
---
 src/webex/pages/popup.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx
index f873414a..44f45f9d 100644
--- a/src/webex/pages/popup.tsx
+++ b/src/webex/pages/popup.tsx
@@ -508,7 +508,7 @@ function formatHistoryItem(historyItem: HistoryEvent) {
     }
 
     case "payment-sent": {
-      const url = historyItem.orderShortInfo.merchantBaseUrl;
+      const url = historyItem.orderShortInfo.fulfillmentUrl;
       const { merchant, item } = parseSummary(
         historyItem.orderShortInfo.summary
       );
@@ -519,7 +519,7 @@ function formatHistoryItem(historyItem: HistoryEvent) {
       const fulfillmentLinkElem = (
         <Fragment>
           <a
-            href={historyItem.orderShortInfo.merchantBaseUrl}
+            href={url}
             onClick={openTab(url)}
           >
             {item ? abbrev(item, 30) : null}
@@ -540,14 +540,14 @@ function formatHistoryItem(historyItem: HistoryEvent) {
       );
     }
     case "order-accepted": {
-      const url = historyItem.orderShortInfo.merchantBaseUrl;
+      const url = historyItem.orderShortInfo.fulfillmentUrl;
       const { merchant, item } = parseSummary(
         historyItem.orderShortInfo.summary
       );
       const fulfillmentLinkElem = (
         <Fragment>
           <a
-            href={historyItem.orderShortInfo.merchantBaseUrl}
+            href={url}
             onClick={openTab(url)}
           >
             {item ? abbrev(item, 40) : null}

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]