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