Skip to content

Commit

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

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>
(cherry picked from commit 763b7f0)

Co-authored-by: Bandini <63824432+bandinib-amzn@users.noreply.github.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
  • Loading branch information
3 people authored Sep 7, 2022
1 parent c477382 commit 90a456e
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 90a456e

Please sign in to comment.