Skip to content

Commit

Permalink
Change timeline icon (#2162)
Browse files Browse the repository at this point in the history
Issue Resolved:
#2155

Signed-off-by: Bandini Bhopi <[email protected]>

Signed-off-by: Bandini Bhopi <[email protected]>
  • Loading branch information
bandinib-amzn authored Sep 6, 2022
1 parent 428e832 commit 763b7f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/vis_type_timeline/public/timeline_vis_type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function getTimelineVisDefinition(dependencies: TimelineVisDependencies)
return {
name: TIMELINE_VIS_NAME,
title: 'Timeline',
icon: 'visTimelion',
icon: 'timeline',
description: i18n.translate('timeline.timelineDescription', {
defaultMessage: 'Build time-series using functional expressions',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class TypeSelection extends React.Component<TypeSelectionProps, TypeSelectionSta
{...stage}
>
<VisTypeIcon
icon={visType.type.icon === 'visTimeline' ? 'visTimelion' : visType.type.icon}
icon={visType.type.icon}
image={'image' in visType.type ? visType.type.image : undefined}
/>
</EuiKeyPadMenuItem>
Expand Down

0 comments on commit 763b7f0

Please sign in to comment.