From ae714ac48565b3ef31b5a9c94d0522201e872492 Mon Sep 17 00:00:00 2001 From: print-signs Date: Wed, 6 Dec 2023 12:58:25 +0530 Subject: [PATCH] updated logo section --- src/components/AppSidebar.js | 4 ++-- src/views/configuration/Logo.js | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/components/AppSidebar.js b/src/components/AppSidebar.js index 5391b3b..78404e9 100644 --- a/src/components/AppSidebar.js +++ b/src/components/AppSidebar.js @@ -73,9 +73,9 @@ const AppSidebar = () => { > {/* */} - {HeaderlogoUrl ? ( + {AdminlogoUrl ? ( - + ) : { AppName } ? (

The Solar Sign

diff --git a/src/views/configuration/Logo.js b/src/views/configuration/Logo.js index 2bd89d9..16dac52 100644 --- a/src/views/configuration/Logo.js +++ b/src/views/configuration/Logo.js @@ -71,7 +71,7 @@ function Logo() { swal("Success!", res.data.message, res.data.status); }) .catch((error) => { - console.log(error); + setLoading(false); }); } @@ -96,8 +96,9 @@ function Logo() {
) : ( "" @@ -138,9 +139,12 @@ function Logo() { +
) : ( "" @@ -174,8 +178,10 @@ function Logo() { ) : ( "" @@ -216,6 +222,11 @@ function Logo() {