From 649ea99597108d97abbafccb927e2ae72c39cacf Mon Sep 17 00:00:00 2001 From: Asad Ali Date: Mon, 1 Apr 2024 22:31:04 +0500 Subject: [PATCH] feat: use DASHBOARD_URL config for the logo href --- src/Header.jsx | 2 +- src/learning-header/LearningHeader.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Header.jsx b/src/Header.jsx index 704bbaf039..a74dfe7c73 100644 --- a/src/Header.jsx +++ b/src/Header.jsx @@ -103,7 +103,7 @@ const Header = ({ intl }) => { const props = { logo: config.LOGO_URL, logoAltText: config.SITE_NAME, - logoDestination: `${config.LMS_BASE_URL}/dashboard`, + logoDestination: config.DASHBOARD_URL ? config.DASHBOARD_URL : `${config.LMS_BASE_URL}/dashboard`, loggedIn: authenticatedUser !== null, username: name, avatar: authenticatedUser !== null ? authenticatedUser.avatar : null, diff --git a/src/learning-header/LearningHeader.jsx b/src/learning-header/LearningHeader.jsx index 0153551c87..55aba46d16 100644 --- a/src/learning-header/LearningHeader.jsx +++ b/src/learning-header/LearningHeader.jsx @@ -33,7 +33,7 @@ const LearningHeader = ({ const headerLogo = (