diff --git a/src/config/index.js b/src/config/index.js index 648c7bdea..447b19791 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -16,6 +16,7 @@ const configuration = { SUPPORT_URL: process.env.SUPPORT_URL || null, ENABLE_NOTICES: process.env.ENABLE_NOTICES || null, CAREER_LINK_URL: process.env.CAREER_LINK_URL || null, + LOGO_URL: process.env.LOGO_URL, }; const features = {}; diff --git a/src/containers/LearnerDashboardHeader/BrandLogo.jsx b/src/containers/LearnerDashboardHeader/BrandLogo.jsx index 2ea2a45c3..fcedb008d 100644 --- a/src/containers/LearnerDashboardHeader/BrandLogo.jsx +++ b/src/containers/LearnerDashboardHeader/BrandLogo.jsx @@ -3,6 +3,7 @@ import React from 'react'; import { useIntl } from '@edx/frontend-platform/i18n'; import { reduxHooks } from 'hooks'; +import { configuration } from '../../config'; import messages from './messages'; @@ -14,7 +15,7 @@ export const BrandLogo = () => { {formatMessage(messages.logoAltText)} diff --git a/src/containers/LearnerDashboardHeader/__snapshots__/BrandLogo.test.jsx.snap b/src/containers/LearnerDashboardHeader/__snapshots__/BrandLogo.test.jsx.snap index 96ecd4eac..f069b0a0e 100644 --- a/src/containers/LearnerDashboardHeader/__snapshots__/BrandLogo.test.jsx.snap +++ b/src/containers/LearnerDashboardHeader/__snapshots__/BrandLogo.test.jsx.snap @@ -8,7 +8,7 @@ exports[`BrandLogo dashboard defined 1`] = ` edX, Inc. Dashboard `; @@ -21,7 +21,7 @@ exports[`BrandLogo dashboard undefined 1`] = ` edX, Inc. Dashboard `;