From bc6adb6f63e2344449d58ecf75b2d8d8e8f62983 Mon Sep 17 00:00:00 2001 From: Chukwumdiebube Date: Mon, 6 Mar 2023 20:14:01 +0100 Subject: [PATCH] capability to his history --- src/components/Partials/MobileSideBar.jsx | 8 +++++--- src/components/Partials/Sidebar.jsx | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/components/Partials/MobileSideBar.jsx b/src/components/Partials/MobileSideBar.jsx index 57c2cb2..9f29396 100755 --- a/src/components/Partials/MobileSideBar.jsx +++ b/src/components/Partials/MobileSideBar.jsx @@ -141,7 +141,8 @@ export default function MobileSidebar({ sidebar, action, logoutModalHandler }) { -
  • + {process.env.REACT_APP_HISTORY_SHOW ? + (
  • - History + {process.env.REACT_APP_HISTORY} -
  • + ) + : ''} diff --git a/src/components/Partials/Sidebar.jsx b/src/components/Partials/Sidebar.jsx index 2aabfac..ac5ac91 100755 --- a/src/components/Partials/Sidebar.jsx +++ b/src/components/Partials/Sidebar.jsx @@ -211,8 +211,8 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) { - -
  • + {process.env.REACT_APP_HISTORY_SHOW ? + (
  • - History + {process.env.REACT_APP_HISTORY} -
  • + ) + : ''}