@boomerang-io/carbon-addons-boomerang-react 4.6.5 → 4.6.7

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.
@@ -48,7 +48,7 @@ function UIShell({ baseEnvUrl, carbonTheme = "g10", config, leftPanel, platformN
48
48
  /**
49
49
  * Check feature enablement via value truthiness
50
50
  */
51
- const isAboutPlatformEnabled = Boolean(platform.name && platform.version);
51
+ const isAboutPlatformEnabled = Boolean(platform.name);
52
52
  const isCommunityEnabled = Boolean(platform?.communityUrl);
53
53
  const isSendMailEnabled = Boolean(platform.sendMail);
54
54
  const isSignOutEnabled = Boolean(platform?.signOutUrl);
@@ -17,7 +17,7 @@ const queryClient = new reactQuery.QueryClient({
17
17
  });
18
18
  const serviceUrl = {
19
19
  getLaunchpadUser: ({ baseServicesUrl }) => `${baseServicesUrl}/launchpad/user`,
20
- getPlatformVersion: ({ baseServicesUrl }) => `${baseServicesUrl}/platform/version`,
20
+ getPlatformVersion: ({ baseServicesUrl }) => `${baseServicesUrl}/users/platform/version`,
21
21
  getStatement: ({ baseServicesUrl }) => `${baseServicesUrl}/users/consents`,
22
22
  getTeamServices: ({ baseServicesUrl, teamId }) => `${baseServicesUrl}/launchpad/teams/${teamId}/services`,
23
23
  getUserTeamsServices: ({ baseServicesUrl }) => `${baseServicesUrl}/users/teams/services`,
@@ -40,7 +40,7 @@ function UIShell({ baseEnvUrl, carbonTheme = "g10", config, leftPanel, platformN
40
40
  /**
41
41
  * Check feature enablement via value truthiness
42
42
  */
43
- const isAboutPlatformEnabled = Boolean(platform.name && platform.version);
43
+ const isAboutPlatformEnabled = Boolean(platform.name);
44
44
  const isCommunityEnabled = Boolean(platform?.communityUrl);
45
45
  const isSendMailEnabled = Boolean(platform.sendMail);
46
46
  const isSignOutEnabled = Boolean(platform?.signOutUrl);
@@ -11,7 +11,7 @@ const queryClient = new QueryClient({
11
11
  });
12
12
  const serviceUrl = {
13
13
  getLaunchpadUser: ({ baseServicesUrl }) => `${baseServicesUrl}/launchpad/user`,
14
- getPlatformVersion: ({ baseServicesUrl }) => `${baseServicesUrl}/platform/version`,
14
+ getPlatformVersion: ({ baseServicesUrl }) => `${baseServicesUrl}/users/platform/version`,
15
15
  getStatement: ({ baseServicesUrl }) => `${baseServicesUrl}/users/consents`,
16
16
  getTeamServices: ({ baseServicesUrl, teamId }) => `${baseServicesUrl}/launchpad/teams/${teamId}/services`,
17
17
  getUserTeamsServices: ({ baseServicesUrl }) => `${baseServicesUrl}/users/teams/services`,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boomerang-io/carbon-addons-boomerang-react",
3
3
  "description": "Carbon Addons for Boomerang apps",
4
- "version": "4.6.5",
4
+ "version": "4.6.7",
5
5
  "author": {
6
6
  "name": "Tim Bula",
7
7
  "email": "timrbula@gmail.com"