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 (#93001)
  • Loading branch information
kertal authored Mar 2, 2021
1 parent 5788a6b commit b2b16d6
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 b2b16d6

Please sign in to comment.