@lendi/navbar 7.40.1 → 7.40.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.
- package/dist/navbar.cjs.dev.js +3 -1
- package/dist/navbar.cjs.prod.js +1 -1
- package/dist/navbar.esm.js +3 -1
- package/package.json +1 -1
package/dist/navbar.cjs.dev.js
CHANGED
|
@@ -1454,7 +1454,9 @@ var WithChatView = _ref => {
|
|
|
1454
1454
|
var {
|
|
1455
1455
|
brand
|
|
1456
1456
|
} = lalaReact.useSession();
|
|
1457
|
-
|
|
1457
|
+
// TODO: Need to revisit this logic - as a part of this ticket : https://creditandfinance.atlassian.net/browse/SUBS-1012
|
|
1458
|
+
// Disabling Aussie chat by hardcoding instead relying on FF
|
|
1459
|
+
var hasChat = brand === lalaReact.Brand.Aussie ? false : !calculateChatDisabled(brand, otherFlags);
|
|
1458
1460
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1459
1461
|
children: [(isCommPanelOpen && !isChatOpen || !enableHistoricalThreads) && /*#__PURE__*/jsxRuntime.jsx(StyledClose, {
|
|
1460
1462
|
color: "shade.300",
|
package/dist/navbar.cjs.prod.js
CHANGED
|
@@ -924,7 +924,7 @@ var _templateObject$9, _templateObject2$4, _templateObject$8, _templateObject2$3
|
|
|
924
924
|
displayName: "style__StyledClose",
|
|
925
925
|
componentId: "lui__sc-qeih4b-0"
|
|
926
926
|
})([ "position:absolute;" ]), _excluded$a = [ "enableHistoricalThreads" ], WithChatView = _ref => {
|
|
927
|
-
var {legacySupport: legacySupport, userType: userType, isOtherUserOnline: isOtherUserOnline, hasNew: hasNew, onException: onException} = _ref, {closeCommPanel: closeCommPanel, isCommPanelOpen: isCommPanelOpen, isChatOpen: isChatOpen, openChat: openChat, teamMember: teamMember, broker: broker, store: store, channelId: channelId, migratedToConversation: migratedToConversation, setSelectedThread: setSelectedThread, applicationId: applicationId, closeChat: closeChat} = chat.useBootstrappedChatState(), _useFlags = launchdarkly.useFlags(), {enableHistoricalThreads: enableHistoricalThreads} = _useFlags, otherFlags = _objectWithoutProperties(_useFlags, _excluded$a), {brand: brand} = lalaReact.useSession(), hasChat = !calculateChatDisabled(brand, otherFlags);
|
|
927
|
+
var {legacySupport: legacySupport, userType: userType, isOtherUserOnline: isOtherUserOnline, hasNew: hasNew, onException: onException} = _ref, {closeCommPanel: closeCommPanel, isCommPanelOpen: isCommPanelOpen, isChatOpen: isChatOpen, openChat: openChat, teamMember: teamMember, broker: broker, store: store, channelId: channelId, migratedToConversation: migratedToConversation, setSelectedThread: setSelectedThread, applicationId: applicationId, closeChat: closeChat} = chat.useBootstrappedChatState(), _useFlags = launchdarkly.useFlags(), {enableHistoricalThreads: enableHistoricalThreads} = _useFlags, otherFlags = _objectWithoutProperties(_useFlags, _excluded$a), {brand: brand} = lalaReact.useSession(), hasChat = brand !== lalaReact.Brand.Aussie && !calculateChatDisabled(brand, otherFlags);
|
|
928
928
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
929
929
|
children: [ (isCommPanelOpen && !isChatOpen || !enableHistoricalThreads) && jsxRuntime.jsx(StyledClose, {
|
|
930
930
|
color: "shade.300",
|
package/dist/navbar.esm.js
CHANGED
|
@@ -1421,7 +1421,9 @@ var WithChatView = _ref => {
|
|
|
1421
1421
|
var {
|
|
1422
1422
|
brand
|
|
1423
1423
|
} = useSession();
|
|
1424
|
-
|
|
1424
|
+
// TODO: Need to revisit this logic - as a part of this ticket : https://creditandfinance.atlassian.net/browse/SUBS-1012
|
|
1425
|
+
// Disabling Aussie chat by hardcoding instead relying on FF
|
|
1426
|
+
var hasChat = brand === Brand$1.Aussie ? false : !calculateChatDisabled(brand, otherFlags);
|
|
1425
1427
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
1426
1428
|
children: [(isCommPanelOpen && !isChatOpen || !enableHistoricalThreads) && /*#__PURE__*/jsx(StyledClose, {
|
|
1427
1429
|
color: "shade.300",
|