From 1a63d56bfdd091cc7aefdf1e25f3a074bfdf5e0e Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 16 Nov 2022 16:04:52 -0300
Subject: fix #7411, also making the backup payment visible

---
 .../src/NavigationBar.tsx                          | 32 ++++++++--------------
 1 file changed, 12 insertions(+), 20 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/NavigationBar.tsx')

diff --git a/packages/taler-wallet-webextension/src/NavigationBar.tsx b/packages/taler-wallet-webextension/src/NavigationBar.tsx
index b0a7a1016..ff2404800 100644
--- a/packages/taler-wallet-webextension/src/NavigationBar.tsx
+++ b/packages/taler-wallet-webextension/src/NavigationBar.tsx
@@ -25,7 +25,6 @@
  * Imports.
  */
 import { h, VNode } from "preact";
-import { JustInDevMode } from "./components/JustInDevMode.js";
 import {
   NavigationHeader,
   NavigationHeaderHolder,
@@ -138,14 +137,9 @@ export function PopupNavBar({ path = "" }: { path?: string }): VNode {
       >
         <i18n.Translate>Balance</i18n.Translate>
       </a>
-      <JustInDevMode>
-        <a
-          href={Pages.backup}
-          class={path.startsWith("/backup") ? "active" : ""}
-        >
-          <i18n.Translate>Backup</i18n.Translate>
-        </a>
-      </JustInDevMode>
+      <a href={Pages.backup} class={path.startsWith("/backup") ? "active" : ""}>
+        <i18n.Translate>Backup</i18n.Translate>
+      </a>
       <div style={{ display: "flex", paddingTop: 4, justifyContent: "right" }}>
         <a href={Pages.qr}>
           <SvgIcon
@@ -177,18 +171,16 @@ export function WalletNavBar({ path = "" }: { path?: string }): VNode {
         >
           <i18n.Translate>Balance</i18n.Translate>
         </a>
-        <JustInDevMode>
-          <a
-            href={Pages.backup}
-            class={path.startsWith("/backup") ? "active" : ""}
-          >
-            <i18n.Translate>Backup</i18n.Translate>
-          </a>
+        <a
+          href={Pages.backup}
+          class={path.startsWith("/backup") ? "active" : ""}
+        >
+          <i18n.Translate>Backup</i18n.Translate>
+        </a>
 
-          <a href={Pages.dev} class={path.startsWith("/dev") ? "active" : ""}>
-            <i18n.Translate>Dev</i18n.Translate>
-          </a>
-        </JustInDevMode>
+        <a href={Pages.dev} class={path.startsWith("/dev") ? "active" : ""}>
+          <i18n.Translate>Dev</i18n.Translate>
+        </a>
 
         <div
           style={{ display: "flex", paddingTop: 4, justifyContent: "right" }}
-- 
cgit v1.2.3

