From 021d508337490d25f6d7293bf0deadbb5f298f8c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 13 Oct 2021 09:54:18 -0300 Subject: fix cta navbar and added an withdrawal button when the wallet didnt find a tos (with a warning) --- packages/taler-wallet-webextension/src/components/ExchangeToS.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages/taler-wallet-webextension/src/components/ExchangeToS.tsx') diff --git a/packages/taler-wallet-webextension/src/components/ExchangeToS.tsx b/packages/taler-wallet-webextension/src/components/ExchangeToS.tsx index b7b0d2fd9..cfa20280f 100644 --- a/packages/taler-wallet-webextension/src/components/ExchangeToS.tsx +++ b/packages/taler-wallet-webextension/src/components/ExchangeToS.tsx @@ -21,7 +21,10 @@ import { h } from 'preact'; export function ExchangeXmlTos({ doc }: { doc: Document }) { const termsNode = doc.querySelector('[ids=terms-of-service]') if (!termsNode) { - return
not found
+ return
+

The exchange send us an xml but there is no node with 'ids=terms-of-service'. This is the content:

+
{new XMLSerializer().serializeToString(doc)}
+
} return {Array.from(termsNode.children).map(renderChild)} -- cgit v1.2.3