@omniumretail/component-library 1.3.25 → 1.3.26
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.
|
@@ -25490,7 +25490,7 @@ const getMenuTopList = (onHome) => [
|
|
|
25490
25490
|
action: onHome
|
|
25491
25491
|
}
|
|
25492
25492
|
];
|
|
25493
|
-
const getMenuBottomList = (onProfile, onLogout, onSupport, userName2, showSupport =
|
|
25493
|
+
const getMenuBottomList = (onProfile, onLogout, onSupport, userName2, showSupport = false) => {
|
|
25494
25494
|
const menuItems = [
|
|
25495
25495
|
{
|
|
25496
25496
|
name: `${t("navigation.profile")}${userName2 ? ` <span>(${userName2})</span>` : ""}`,
|
|
@@ -26442,7 +26442,7 @@ const Header = ({
|
|
|
26442
26442
|
applicationOptions,
|
|
26443
26443
|
onProfileClick,
|
|
26444
26444
|
onHomeClick,
|
|
26445
|
-
showSupport =
|
|
26445
|
+
showSupport = false
|
|
26446
26446
|
}) => {
|
|
26447
26447
|
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
|
26448
26448
|
const [activeDropdown, setActiveDropdown] = useState(null);
|