@boomerang-io/carbon-addons-boomerang-react 4.6.11-beta.15 → 4.6.11-beta.16
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.
|
@@ -152,7 +152,7 @@ function AdvantageSideNav(props) {
|
|
|
152
152
|
};
|
|
153
153
|
const assistantSideNavLink = (
|
|
154
154
|
// assistantLink &&
|
|
155
|
-
React__default.default.createElement(react.SideNavLink, { "data-testid": "sidenav-assistant-link", className: !enableChatButton ? `${settings.prefix}--bmrg-advantage-sidenav__inactive-link` : "", disabled: Boolean(!enableChatButton), isActive: assistantLink ? windowLocation.href.includes(assistantLink) : "", renderIcon: icons.ChatBot, href: enableChatButton
|
|
155
|
+
React__default.default.createElement(react.SideNavLink, { "data-testid": "sidenav-assistant-link", className: !enableChatButton ? `${settings.prefix}--bmrg-advantage-sidenav__inactive-link` : "", disabled: Boolean(!enableChatButton), isActive: assistantLink ? windowLocation.href.includes(assistantLink) : "", renderIcon: icons.ChatBot, href: enableChatButton, onClick: enableChatButton ? handleAssistantClick : (e) => e.preventDefault() }, "Chat"));
|
|
156
156
|
const catalogNavlink = navigation?.platform?.catalog?.url;
|
|
157
157
|
const adminNavlink = navigation?.platform?.admin?.url;
|
|
158
158
|
const showSecondDivider = (!isPartnerUser && showChatButton) ||
|
|
@@ -143,7 +143,7 @@ function AdvantageSideNav(props) {
|
|
|
143
143
|
};
|
|
144
144
|
const assistantSideNavLink = (
|
|
145
145
|
// assistantLink &&
|
|
146
|
-
React.createElement(SideNavLink, { "data-testid": "sidenav-assistant-link", className: !enableChatButton ? `${prefix}--bmrg-advantage-sidenav__inactive-link` : "", disabled: Boolean(!enableChatButton), isActive: assistantLink ? windowLocation.href.includes(assistantLink) : "", renderIcon: ChatBot, href: enableChatButton
|
|
146
|
+
React.createElement(SideNavLink, { "data-testid": "sidenav-assistant-link", className: !enableChatButton ? `${prefix}--bmrg-advantage-sidenav__inactive-link` : "", disabled: Boolean(!enableChatButton), isActive: assistantLink ? windowLocation.href.includes(assistantLink) : "", renderIcon: ChatBot, href: enableChatButton, onClick: enableChatButton ? handleAssistantClick : (e) => e.preventDefault() }, "Chat"));
|
|
147
147
|
const catalogNavlink = navigation?.platform?.catalog?.url;
|
|
148
148
|
const adminNavlink = navigation?.platform?.admin?.url;
|
|
149
149
|
const showSecondDivider = (!isPartnerUser && showChatButton) ||
|
package/package.json
CHANGED