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() {