pixel-react 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -11,9 +11,9 @@ const AppHeader: React.FC<AppHeaderProps> = ({
|
|
11
11
|
logoIconName = 'fireflink_icon',
|
12
12
|
leftContent,
|
13
13
|
rightContent,
|
14
|
-
projectsList
|
14
|
+
projectsList,
|
15
15
|
appHeaderMenuItems,
|
16
|
-
appHeaderHiddenMenuItems
|
16
|
+
appHeaderHiddenMenuItems,
|
17
17
|
selectedMenu,
|
18
18
|
selectedSubMenu,
|
19
19
|
selectedQuickMenu,
|
@@ -36,7 +36,7 @@ const AppHeader: React.FC<AppHeaderProps> = ({
|
|
36
36
|
)}
|
37
37
|
</div>
|
38
38
|
<div className="ff-app-header-nav-bar">
|
39
|
-
{!checkEmpty(projectsList) && (
|
39
|
+
{projectsList && !checkEmpty(projectsList) && (
|
40
40
|
<div>
|
41
41
|
{
|
42
42
|
<AllProjectsDropdown
|
@@ -130,7 +130,7 @@ const AppHeader: React.FC<AppHeaderProps> = ({
|
|
130
130
|
);
|
131
131
|
})}
|
132
132
|
</div>
|
133
|
-
{!checkEmpty(appHeaderHiddenMenuItems) && (
|
133
|
+
{appHeaderHiddenMenuItems && !checkEmpty(appHeaderHiddenMenuItems) && (
|
134
134
|
<div>
|
135
135
|
<MenuOption
|
136
136
|
iconName="more"
|