@boomerang-io/carbon-addons-boomerang-react 4.6.21-beta.21 → 4.6.21-beta.23
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.
|
@@ -178,14 +178,13 @@ function AdvantageSideNav(props) {
|
|
|
178
178
|
React__default.default.createElement("div", null,
|
|
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
|
-
console.log("1.0 launchpad home link clicked");
|
|
182
181
|
handleLaunchpadLink(e);
|
|
183
|
-
history.push("/
|
|
182
|
+
history.push("/");
|
|
184
183
|
}
|
|
185
184
|
if (isbetaLaunchpad) {
|
|
186
185
|
console.log("beta launchpad home link clicked");
|
|
187
186
|
handleLaunchpadLink(e);
|
|
188
|
-
history.push("/
|
|
187
|
+
history.push("/launchpad");
|
|
189
188
|
}
|
|
190
189
|
handleHomeClick();
|
|
191
190
|
} }, "Home")) : null,
|
|
@@ -169,14 +169,13 @@ function AdvantageSideNav(props) {
|
|
|
169
169
|
React.createElement("div", null,
|
|
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
|
-
console.log("1.0 launchpad home link clicked");
|
|
173
172
|
handleLaunchpadLink(e);
|
|
174
|
-
history.push("/
|
|
173
|
+
history.push("/");
|
|
175
174
|
}
|
|
176
175
|
if (isbetaLaunchpad) {
|
|
177
176
|
console.log("beta launchpad home link clicked");
|
|
178
177
|
handleLaunchpadLink(e);
|
|
179
|
-
history.push("/
|
|
178
|
+
history.push("/launchpad");
|
|
180
179
|
}
|
|
181
180
|
handleHomeClick();
|
|
182
181
|
} }, "Home")) : null,
|
package/package.json
CHANGED