@smg-automotive/components 25.22.5 → 25.22.6
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/cjs/index.js
CHANGED
|
@@ -10830,6 +10830,7 @@ var Navigation = function (_a) {
|
|
|
10830
10830
|
var _b, _c;
|
|
10831
10831
|
var brand = _a.brand, comparisonItemIds = _a.comparisonItemIds, environment = _a.environment, hasNotification = _a.hasNotification, language = _a.language, onLogin = _a.onLogin, onLogout = _a.onLogout, trackEvent = _a.trackEvent, _d = _a.useAbsoluteUrls, useAbsoluteUrls = _d === void 0 ? false : _d, project = _a.project, user = _a.user, selectTenant = _a.selectTenant, _e = _a.showTenantSelection, showTenantSelection = _e === void 0 ? true : _e;
|
|
10832
10832
|
var config = React.useMemo(function () {
|
|
10833
|
+
var _a, _b;
|
|
10833
10834
|
var urlPathParams = (user === null || user === void 0 ? void 0 : user.sellerId)
|
|
10834
10835
|
? { accountId: user === null || user === void 0 ? void 0 : user.sellerId }
|
|
10835
10836
|
: undefined;
|
|
@@ -10844,7 +10845,7 @@ var Navigation = function (_a) {
|
|
|
10844
10845
|
trackEvent: trackEvent,
|
|
10845
10846
|
onLogout: onLogout,
|
|
10846
10847
|
comparisonItemIds: comparisonItemIds,
|
|
10847
|
-
sellerId: user === null || user === void 0 ? void 0 : user.sellerId,
|
|
10848
|
+
sellerId: (_b = (_a = user === null || user === void 0 ? void 0 : user.sellerId) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : undefined,
|
|
10848
10849
|
currentLanguage: language,
|
|
10849
10850
|
isLoggedIn: !!user,
|
|
10850
10851
|
}),
|