diff --git a/.env b/.env index 8bbb8c16d..315c33e1c 100644 --- a/.env +++ b/.env @@ -27,3 +27,4 @@ USER_INFO_COOKIE_NAME='' ENABLE_PROGRESS_GRAPH_SETTINGS=false ENABLE_TEAM_TYPE_SETTING=false ENABLE_NEW_EDITOR_PAGES=true +BBB_LEARN_MORE_URL='' diff --git a/.env.development b/.env.development index 3bfeb2543..ace285e48 100644 --- a/.env.development +++ b/.env.development @@ -29,3 +29,4 @@ USER_INFO_COOKIE_NAME='edx-user-info' ENABLE_PROGRESS_GRAPH_SETTINGS=false ENABLE_TEAM_TYPE_SETTING=false ENABLE_NEW_EDITOR_PAGES=true +BBB_LEARN_MORE_URL='' diff --git a/.env.test b/.env.test index 91cf00cfe..cef8e39e4 100644 --- a/.env.test +++ b/.env.test @@ -28,3 +28,4 @@ USER_INFO_COOKIE_NAME='edx-user-info' ENABLE_PROGRESS_GRAPH_SETTINGS=false ENABLE_TEAM_TYPE_SETTING=false ENABLE_NEW_EDITOR_PAGES=true +BBB_LEARN_MORE_URL='' diff --git a/src/index.jsx b/src/index.jsx index 41153d52e..0fdf1db70 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -51,6 +51,7 @@ initialize({ CALCULATOR_HELP_URL: process.env.CALCULATOR_HELP_URL || null, ENABLE_PROGRESS_GRAPH_SETTINGS: process.env.ENABLE_PROGRESS_GRAPH_SETTINGS || 'false', ENABLE_TEAM_TYPE_SETTING: process.env.ENABLE_TEAM_TYPE_SETTING === 'true', + BBB_LEARN_MORE_URL: process.env.BBB_LEARN_MORE_URL || '', }, 'CourseAuthoringConfig'); }, }, diff --git a/src/pages-and-resources/live/BBBSettings.jsx b/src/pages-and-resources/live/BBBSettings.jsx index 9e97f875a..27d6b5fc0 100644 --- a/src/pages-and-resources/live/BBBSettings.jsx +++ b/src/pages-and-resources/live/BBBSettings.jsx @@ -1,4 +1,5 @@ import React, { useEffect, useState } from 'react'; +import { getConfig } from '@edx/frontend-platform'; import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import { Form, Hyperlink } from '@edx/paragon'; import PropTypes from 'prop-types'; @@ -19,7 +20,6 @@ function BbbSettings({ setBbbPlan(values.tierType); }, [values.tierType]); - const appInfo = useModel('courseApps', 'live'); const app = useModel('liveApps', 'big_blue_button'); const isPiiDisabled = !values.piiSharingEnable; function getBbbPlanOptions() { @@ -71,7 +71,7 @@ function BbbSettings({