Skip to content

Commit

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

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

Signed-off-by: Bandini Bhopi <[email protected]>
Signed-off-by: Sergey V. Osipov <[email protected]>
  • Loading branch information
bandinib-amzn authored and sipopo committed Dec 16, 2022
1 parent 428e832 commit 0685b04
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 0685b04

Please sign in to comment.