Skip to content

Commit

Permalink
[Discover] Change icon of saved search in open search panel and embed…
Browse files Browse the repository at this point in the history
…dable selection (elastic#93001)
  • Loading branch information
kertal committed Mar 2, 2021
1 parent 88aadc3 commit 1b37607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function OpenSearchPanel(props: OpenSearchPanelProps) {
savedObjectMetaData={[
{
type: SEARCH_OBJECT_TYPE,
getIconForSavedObject: () => 'search',
getIconForSavedObject: () => 'discoverApp',
name: i18n.translate('discover.savedSearch.savedObjectName', {
defaultMessage: 'Saved search',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class SearchEmbeddableFactory
defaultMessage: 'Saved search',
}),
type: 'search',
getIconForSavedObject: () => 'search',
getIconForSavedObject: () => 'discoverApp',
};

constructor(
Expand Down

0 comments on commit 1b37607

Please sign in to comment.