@lendi/navbar 7.44.1 → 7.44.2
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 -2
- package/dist/navbar.cjs.prod.js +1 -1
- package/dist/navbar.esm.js +3 -2
- package/package.json +1 -1
package/dist/navbar.cjs.dev.js
CHANGED
|
@@ -465,8 +465,9 @@ var DropdownMenu = () => {
|
|
|
465
465
|
gpCustomerDashboardWithProperties
|
|
466
466
|
} = launchdarkly.useFlags();
|
|
467
467
|
|
|
468
|
-
// Determine dashboard path based on feature flag
|
|
469
|
-
var
|
|
468
|
+
// Determine dashboard path based on feature flag (Aussie only)
|
|
469
|
+
var isAussie = brand === lalaUtils.Brand.Aussie;
|
|
470
|
+
var dashboardPath = isAussie && gpCustomerDashboardWithProperties ? '/my-profile/' : DASHBOARD_V2_PATH;
|
|
470
471
|
return /*#__PURE__*/jsxRuntime.jsxs(LogoutWrapper, {
|
|
471
472
|
children: [/*#__PURE__*/jsxRuntime.jsx(MyAccountTitle, {
|
|
472
473
|
children: "My account"
|
package/dist/navbar.cjs.prod.js
CHANGED
|
@@ -248,7 +248,7 @@ var _templateObject$d, _templateObject$c, _templateObject$b, _templateObject$a,
|
|
|
248
248
|
forceDisplay: !0
|
|
249
249
|
});
|
|
250
250
|
}, DropdownMenu = () => {
|
|
251
|
-
var {brand: brand} = lalaReact.useSession(), isDomain = lalaUtils.getBrandFromHostname() === lalaUtils.Brand.Domain, isLendi = brand === lalaUtils.Brand.Lendi, isSVA = checkSVA(), path = isDomain ? PATH_DOMAIN : PATH_LENDI, {hideDashboardItem: hideDashboardItem, hideManageApplicationsItem: hideManageApplicationsItem, onLogout: onLogout} = useDropdownMenu(), {sendFeedback: sendFeedback, referAFriend: referAFriend, gpCustomerDashboardWithProperties: gpCustomerDashboardWithProperties} = launchdarkly.useFlags(), dashboardPath = gpCustomerDashboardWithProperties ? "/my-profile/" : DASHBOARD_V2_PATH;
|
|
251
|
+
var {brand: brand} = lalaReact.useSession(), isDomain = lalaUtils.getBrandFromHostname() === lalaUtils.Brand.Domain, isLendi = brand === lalaUtils.Brand.Lendi, isSVA = checkSVA(), path = isDomain ? PATH_DOMAIN : PATH_LENDI, {hideDashboardItem: hideDashboardItem, hideManageApplicationsItem: hideManageApplicationsItem, onLogout: onLogout} = useDropdownMenu(), {sendFeedback: sendFeedback, referAFriend: referAFriend, gpCustomerDashboardWithProperties: gpCustomerDashboardWithProperties} = launchdarkly.useFlags(), dashboardPath = brand === lalaUtils.Brand.Aussie && gpCustomerDashboardWithProperties ? "/my-profile/" : DASHBOARD_V2_PATH;
|
|
252
252
|
return jsxRuntime.jsxs(LogoutWrapper, {
|
|
253
253
|
children: [ jsxRuntime.jsx(MyAccountTitle, {
|
|
254
254
|
children: "My account"
|
package/dist/navbar.esm.js
CHANGED
|
@@ -431,8 +431,9 @@ var DropdownMenu = () => {
|
|
|
431
431
|
gpCustomerDashboardWithProperties
|
|
432
432
|
} = useFlags();
|
|
433
433
|
|
|
434
|
-
// Determine dashboard path based on feature flag
|
|
435
|
-
var
|
|
434
|
+
// Determine dashboard path based on feature flag (Aussie only)
|
|
435
|
+
var isAussie = brand === Brand.Aussie;
|
|
436
|
+
var dashboardPath = isAussie && gpCustomerDashboardWithProperties ? '/my-profile/' : DASHBOARD_V2_PATH;
|
|
436
437
|
return /*#__PURE__*/jsxs(LogoutWrapper, {
|
|
437
438
|
children: [/*#__PURE__*/jsx(MyAccountTitle, {
|
|
438
439
|
children: "My account"
|