diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-18 12:06:37 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-18 12:06:37 -0300 |
commit | fb4896cf183f34fa0d3648415befd385ed1222a4 (patch) | |
tree | abf17589a32278026fcebaaf3c6a60e7a5c82412 | |
parent | 3bcac051ede24fa2ba82db3a425f0648c286d93e (diff) |
backup section link justInDevMode
-rw-r--r-- | packages/taler-wallet-webextension/src/NavigationBar.tsx | 16 |
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}> |