@codecademy/brand 1.17.2 → 1.17.3-alpha.baa39865d1.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.
|
@@ -130,7 +130,7 @@ export const teamsHeaderItems = user => {
|
|
|
130
130
|
if (user.isBusinessUser) {
|
|
131
131
|
rightItems.push(contactSales);
|
|
132
132
|
}
|
|
133
|
-
if (user.isAccountManager && user.inBusinessTrial) {
|
|
133
|
+
if (user.isAccountManager && user.inBusinessTrial && !user.hasBusinessSubscription) {
|
|
134
134
|
rightItems.push(addPayment);
|
|
135
135
|
}
|
|
136
136
|
rightItems.push(proProfile(user));
|
|
@@ -172,7 +172,7 @@ export const teamsMobileHeaderItems = user => {
|
|
|
172
172
|
const leftItems = [logo];
|
|
173
173
|
const rightItems = [];
|
|
174
174
|
const mainMenuItems = [myHome, catalogDropdown(user?.hideCareerPaths), resourcesDropdown(), communityDropdown(), careerCenter, proProfile(user)];
|
|
175
|
-
if (user.isAccountManager && user.inBusinessTrial) {
|
|
175
|
+
if (user.isAccountManager && user.inBusinessTrial && !user.hasBusinessSubscription) {
|
|
176
176
|
mainMenuItems.push(addPayment);
|
|
177
177
|
}
|
|
178
178
|
if (user.isBusinessUser) {
|
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": "1.17.
|
|
4
|
+
"version": "1.17.3-alpha.baa39865d1.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@emotion/is-prop-valid": "^1.2.1",
|