aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-01-18 12:06:37 -0300
committerSebastian <sebasjm@gmail.com>2023-01-18 12:06:37 -0300
commitfb4896cf183f34fa0d3648415befd385ed1222a4 (patch)
treeabf17589a32278026fcebaaf3c6a60e7a5c82412 /packages
parent3bcac051ede24fa2ba82db3a425f0648c286d93e (diff)
backup section link justInDevMode
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-webextension/src/NavigationBar.tsx16
1 files changed, 10 insertions, 6 deletions
diff --git a/packages/taler-wallet-webextension/src/NavigationBar.tsx b/packages/taler-wallet-webextension/src/NavigationBar.tsx
index 1c26450f7..aa2238753 100644
--- a/packages/taler-wallet-webextension/src/NavigationBar.tsx
+++ b/packages/taler-wallet-webextension/src/NavigationBar.tsx
@@ -152,9 +152,11 @@ export function PopupNavBar({ path }: { path?: PopupNavBarOptions }): VNode {
<a href={Pages.balance} class={path === "balance" ? "active" : ""}>
<i18n.Translate>Balance</i18n.Translate>
</a>
- <a href={Pages.backup} class={path === "backup" ? "active" : ""}>
- <i18n.Translate>Backup</i18n.Translate>
- </a>
+ <JustInDevMode>
+ <a href={Pages.backup} class={path === "backup" ? "active" : ""}>
+ <i18n.Translate>Backup</i18n.Translate>
+ </a>
+ </JustInDevMode>
<div style={{ display: "flex", paddingTop: 4, justifyContent: "right" }}>
{attentionCount > 0 ? (
<a href={Pages.notifications}>
@@ -205,9 +207,11 @@ export function WalletNavBar({ path }: { path?: WalletNavBarOptions }): VNode {
<a href={Pages.balance} class={path === "balance" ? "active" : ""}>
<i18n.Translate>Balance</i18n.Translate>
</a>
- <a href={Pages.backup} class={path === "backup" ? "active" : ""}>
- <i18n.Translate>Backup</i18n.Translate>
- </a>
+ <JustInDevMode>
+ <a href={Pages.backup} class={path === "backup" ? "active" : ""}>
+ <i18n.Translate>Backup</i18n.Translate>
+ </a>
+ </JustInDevMode>
{attentionCount > 0 ? (
<a href={Pages.notifications}>