Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed May 8, 2019
1 parent 6b81939 commit 69cee4f
Showing 1 changed file with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,16 +244,20 @@ class HeaderUI extends Component<Props, State> {
key: navLink.id,
label: navLink.title,
href: addBasePath(navLink.href),
iconType: navLink.euiIconType,
icon: !navLink.euiIconType && navLink.icon && (
<EuiImage
size="s"
alt=""
aria-hidden={true}
url={chrome.addBasePath(`/${navLink.icon}`)}
/>
),
isDisabled: navLink.disabled,
isActive: navLink.active,
iconType: navLink.euiIconType,
icon:
!navLink.euiIconType && navLink.icon ? (
<EuiImage
size="s"
alt=""
aria-hidden={true}
url={chrome.addBasePath(`/${navLink.icon}`)}
/>
) : (
undefined
),
'data-test-subj': 'navDrawerAppsMenuLink',
}));

Expand Down

0 comments on commit 69cee4f

Please sign in to comment.