@boomerang-io/carbon-addons-boomerang-react 4.6.8-beta.31 → 4.6.8-beta.32
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.
|
@@ -18,7 +18,6 @@ IBM Confidential
|
|
|
18
18
|
694970X, 69497O0
|
|
19
19
|
© Copyright IBM Corp. 2022, 2025
|
|
20
20
|
*/
|
|
21
|
-
const headerDropdownMenuClassname = `${settings.prefix}--header-dropdown-menu`;
|
|
22
21
|
const headerDropdownMenuItemAccountSubmenuClassname = `${settings.prefix}--header-dropdown-menu-item-account-submenu`;
|
|
23
22
|
function HeaderTeamSwitcher({ analyticsHelpers, baseServicesUrl, createJoinTeamTrigger, history, isLaunchpad, menuAriaLabelRecord, menuButtonId, menuListId, navigationPlatform, teamsQuery, trackEvent, user, userTeams, }) {
|
|
24
23
|
const queryClient = reactQuery.useQueryClient();
|
|
@@ -143,7 +142,7 @@ function HeaderTeamSwitcher({ analyticsHelpers, baseServicesUrl, createJoinTeamT
|
|
|
143
142
|
if (selectedTeamName && selectedTeamName.length > 42) {
|
|
144
143
|
selectedTeamName = selectedTeamName.slice(0, 42) + "...";
|
|
145
144
|
}
|
|
146
|
-
return (React__default.default.createElement(
|
|
145
|
+
return (React__default.default.createElement(React__default.default.Fragment, null,
|
|
147
146
|
personalTeam.length > 0
|
|
148
147
|
? personalTeam.map((team) => {
|
|
149
148
|
team.displayName ? team.displayName : team.name;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import { useQueryClient, useMutation } from 'react-query';
|
|
3
|
-
import { InlineLoading
|
|
3
|
+
import { InlineLoading } from '@carbon/react';
|
|
4
4
|
import orderBy_1 from '../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js';
|
|
5
5
|
import { resolver, serviceUrl } from '../../config/servicesConfig.js';
|
|
6
6
|
import { prefix } from '../../internal/settings.js';
|
|
@@ -10,7 +10,6 @@ IBM Confidential
|
|
|
10
10
|
694970X, 69497O0
|
|
11
11
|
© Copyright IBM Corp. 2022, 2025
|
|
12
12
|
*/
|
|
13
|
-
const headerDropdownMenuClassname = `${prefix}--header-dropdown-menu`;
|
|
14
13
|
const headerDropdownMenuItemAccountSubmenuClassname = `${prefix}--header-dropdown-menu-item-account-submenu`;
|
|
15
14
|
function HeaderTeamSwitcher({ analyticsHelpers, baseServicesUrl, createJoinTeamTrigger, history, isLaunchpad, menuAriaLabelRecord, menuButtonId, menuListId, navigationPlatform, teamsQuery, trackEvent, user, userTeams, }) {
|
|
16
15
|
const queryClient = useQueryClient();
|
|
@@ -135,7 +134,7 @@ function HeaderTeamSwitcher({ analyticsHelpers, baseServicesUrl, createJoinTeamT
|
|
|
135
134
|
if (selectedTeamName && selectedTeamName.length > 42) {
|
|
136
135
|
selectedTeamName = selectedTeamName.slice(0, 42) + "...";
|
|
137
136
|
}
|
|
138
|
-
return (React.createElement(
|
|
137
|
+
return (React.createElement(React.Fragment, null,
|
|
139
138
|
personalTeam.length > 0
|
|
140
139
|
? personalTeam.map((team) => {
|
|
141
140
|
team.displayName ? team.displayName : team.name;
|
package/package.json
CHANGED