@boomerang-io/carbon-addons-boomerang-react 4.6.11-beta.11 → 4.6.11-beta.12
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.
|
@@ -160,8 +160,8 @@ function AdvantageSideNav(props) {
|
|
|
160
160
|
const assistantSideNavLink = (
|
|
161
161
|
// assistantLink &&
|
|
162
162
|
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 && assistantLink, onClick: enableChatButton ? handleAssistantClick : (e) => e.preventDefault() }, "Chat"));
|
|
163
|
-
const catalogNavlink = navigation?.platform?.
|
|
164
|
-
const adminNavlink = navigation?.platform?.
|
|
163
|
+
const catalogNavlink = navigation?.platform?.catalog?.url;
|
|
164
|
+
const adminNavlink = navigation?.platform?.admin?.url;
|
|
165
165
|
const showSecondDivider = (!isPartnerUser && showChatButton) ||
|
|
166
166
|
toolsLink ||
|
|
167
167
|
agentAssistantStudioLink ||
|
|
@@ -151,8 +151,8 @@ function AdvantageSideNav(props) {
|
|
|
151
151
|
const assistantSideNavLink = (
|
|
152
152
|
// assistantLink &&
|
|
153
153
|
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 && assistantLink, onClick: enableChatButton ? handleAssistantClick : (e) => e.preventDefault() }, "Chat"));
|
|
154
|
-
const catalogNavlink = navigation?.platform?.
|
|
155
|
-
const adminNavlink = navigation?.platform?.
|
|
154
|
+
const catalogNavlink = navigation?.platform?.catalog?.url;
|
|
155
|
+
const adminNavlink = navigation?.platform?.admin?.url;
|
|
156
156
|
const showSecondDivider = (!isPartnerUser && showChatButton) ||
|
|
157
157
|
toolsLink ||
|
|
158
158
|
agentAssistantStudioLink ||
|
package/package.json
CHANGED