@boomerang-io/carbon-addons-boomerang-react 4.6.13-beta.0 → 4.6.13-beta.3
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.
|
@@ -179,11 +179,14 @@ function AdvantageSideNav(props) {
|
|
|
179
179
|
homeLink ? (React__default.default.createElement(react.SideNavLink, { "data-testid": "sidenav-home-link", isActive: `${baseEnvUrl}/${app}/`.includes(windowLocation.href), renderIcon: icons.Home, href: homeLink, onClick: (e) => {
|
|
180
180
|
if (isLaunchpad) {
|
|
181
181
|
handleLaunchpadLink(e);
|
|
182
|
-
history.push("/
|
|
182
|
+
history.push("/");
|
|
183
183
|
}
|
|
184
184
|
handleHomeClick();
|
|
185
185
|
} }, "Home")) : null,
|
|
186
|
-
teamSwitcherTeam ? (React__default.default.createElement(react.SideNavLink, { title: teamSwitcherTeam.isAccount ? "Account Page" : "Team Page", name: teamSwitcherTeam.name, "data-testid": "sidenav-team-link", id: teamSwitcherTeam.id, isActive: windowLocation.href.includes(teamSwitcherTeam.id), className: `${settings.prefix}--bmrg-advantage-sidenav-team`, renderIcon: icons.UserMultiple,
|
|
186
|
+
teamSwitcherTeam ? (React__default.default.createElement(react.SideNavLink, { title: teamSwitcherTeam.isAccount ? "Account Page" : "Team Page", name: teamSwitcherTeam.name, "data-testid": "sidenav-team-link", id: teamSwitcherTeam.id, isActive: windowLocation.href.includes(teamSwitcherTeam.id), className: `${settings.prefix}--bmrg-advantage-sidenav-team`, renderIcon: icons.UserMultiple,
|
|
187
|
+
// href={`${baseEnvUrl}/${app}/teams/${teamSwitcherTeam.id}`}
|
|
188
|
+
onClick: (e) => {
|
|
189
|
+
history.push(`/launchpad/teams/${teamSwitcherTeam.id}`);
|
|
187
190
|
if (isLaunchpad) {
|
|
188
191
|
handleLaunchpadLink(e);
|
|
189
192
|
history.push(`/launchpad/teams/${teamSwitcherTeam.id}`);
|
|
@@ -170,11 +170,14 @@ function AdvantageSideNav(props) {
|
|
|
170
170
|
homeLink ? (React.createElement(SideNavLink, { "data-testid": "sidenav-home-link", isActive: `${baseEnvUrl}/${app}/`.includes(windowLocation.href), renderIcon: Home, href: homeLink, onClick: (e) => {
|
|
171
171
|
if (isLaunchpad) {
|
|
172
172
|
handleLaunchpadLink(e);
|
|
173
|
-
history.push("/
|
|
173
|
+
history.push("/");
|
|
174
174
|
}
|
|
175
175
|
handleHomeClick();
|
|
176
176
|
} }, "Home")) : null,
|
|
177
|
-
teamSwitcherTeam ? (React.createElement(SideNavLink, { title: teamSwitcherTeam.isAccount ? "Account Page" : "Team Page", name: teamSwitcherTeam.name, "data-testid": "sidenav-team-link", id: teamSwitcherTeam.id, isActive: windowLocation.href.includes(teamSwitcherTeam.id), className: `${prefix}--bmrg-advantage-sidenav-team`, renderIcon: UserMultiple,
|
|
177
|
+
teamSwitcherTeam ? (React.createElement(SideNavLink, { title: teamSwitcherTeam.isAccount ? "Account Page" : "Team Page", name: teamSwitcherTeam.name, "data-testid": "sidenav-team-link", id: teamSwitcherTeam.id, isActive: windowLocation.href.includes(teamSwitcherTeam.id), className: `${prefix}--bmrg-advantage-sidenav-team`, renderIcon: UserMultiple,
|
|
178
|
+
// href={`${baseEnvUrl}/${app}/teams/${teamSwitcherTeam.id}`}
|
|
179
|
+
onClick: (e) => {
|
|
180
|
+
history.push(`/launchpad/teams/${teamSwitcherTeam.id}`);
|
|
178
181
|
if (isLaunchpad) {
|
|
179
182
|
handleLaunchpadLink(e);
|
|
180
183
|
history.push(`/launchpad/teams/${teamSwitcherTeam.id}`);
|
package/package.json
CHANGED