[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fix: #6965
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fix: #6965 |
Date: |
Mon, 31 Jan 2022 19:28:06 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 6a3747cd fix: #6965
6a3747cd is described below
commit 6a3747cd8e585c34fdb5d84f8880744759d1c340
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Jan 31 15:27:58 2022 -0300
fix: #6965
---
packages/taler-wallet-webextension/src/popupEntryPoint.tsx | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
b/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
index 80e67f88..e1d1b901 100644
--- a/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
+++ b/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
@@ -101,6 +101,11 @@ function Application(): VNode {
Pages.balance_manual_withdraw.replace(":currency?", ""),
)
}
+ goToWalletDeposit={(currency: string) =>
+ goToWalletPage(
+ Pages.balance_deposit.replace(":currency", currency),
+ )
+ }
goToWalletHistory={(currency: string) =>
goToWalletPage(
Pages.balance_history.replace(":currency", currency),
@@ -167,14 +172,15 @@ function Application(): VNode {
);
}
-function goToWalletPage(page: Pages | string): null {
+async function goToWalletPage(page: Pages | string): Promise<void> {
// eslint-disable-next-line no-undef
- chrome.tabs.create({
+ await chrome.tabs.create({
active: true,
// eslint-disable-next-line no-undef
url: chrome.runtime.getURL(`/static/wallet.html#${page}`),
});
- return null;
+ window.close();
+ // return null;
}
function Redirect({ to }: { to: string }): null {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: fix: #6965,
gnunet <=