aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/popupEntryPoint.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/popupEntryPoint.tsx12
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/popupEntryPoint.tsx b/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
index d73b3566b..80a2a2bd3 100644
--- a/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
+++ b/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
@@ -99,8 +99,16 @@ function Application() {
<Route path={Pages.settings} component={SettingsPage} />
<Route path={Pages.dev} component={DeveloperPage} />
<Route path={Pages.history} component={HistoryPage} />
- <Route path={Pages.backup} component={BackupPage} />
- <Route path={Pages.provider_detail} component={ProviderDetailPage} />
+ <Route path={Pages.backup} component={BackupPage}
+ onAddProvider={() => {
+ route(Pages.provider_add)
+ }}
+ />
+ <Route path={Pages.provider_detail} component={ProviderDetailPage}
+ onBack={() => {
+ route(Pages.backup)
+ }}
+ />
<Route path={Pages.provider_add} component={ProviderAddPage} />
<Route path={Pages.transaction} component={TransactionPage} />
<Route default component={Redirect} to={Pages.balance} />