@codecademy/brand 0.13.36-alpha.f69437e7a4.0 → 0.13.37-alpha.30ed78ee5f.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58,7 +58,7 @@ export const GlobalHeader = props => {
|
|
|
58
58
|
const hideNotification = props.type === 'loading' || props.type === 'enterprise' || props.type === 'simple' || props.type === 'bootcamp';
|
|
59
59
|
const showQuiz = props.type === 'anon' || props.type === 'free' || props.type === 'pro';
|
|
60
60
|
const hasTwoOrMoreEnrollments = (props.type === 'free' || props.type === 'pro') && props.user.enrolledInTwoOrMoreContainers;
|
|
61
|
-
const showUnifiedQuiz =
|
|
61
|
+
const showUnifiedQuiz = !hasTwoOrMoreEnrollments;
|
|
62
62
|
return /*#__PURE__*/_jsx(TeamsRevampContext.Provider, {
|
|
63
63
|
value: !!props.teamsRevampEnabled,
|
|
64
64
|
children: /*#__PURE__*/_jsx(UnifiedRecFlowV2Context.Provider, {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
3
|
"description": "Brand component library for Codecademy",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.37-alpha.30ed78ee5f.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@codecademy/tracking": "1.0.43",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"dist/**/[A-Z]**/[A-Z]*.js",
|
|
48
48
|
"dist/**/[A-Z]**/index.js"
|
|
49
49
|
],
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "4648449b8cbce75d05dc774cd683279f30a82fe0"
|
|
51
51
|
}
|