Skip to content

Commit

Permalink
Use new cases app icon (#131244)
Browse files Browse the repository at this point in the history
  • Loading branch information
academo committed May 2, 2022
1 parent 0716332 commit 19ab0f1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const DoesNotExist = React.memo(({ caseId }: Props) => {
return (
<EuiEmptyPrompt
iconColor="default"
iconType="addDataApp"
iconType="casesApp"
title={<h2>{i18n.DOES_NOT_EXIST_TITLE}</h2>}
titleSize="xs"
body={<p>{i18n.DOES_NOT_EXIST_DESCRIPTION(caseId)}</p>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const NoPrivilegesPage = React.memo(({ pageName }: NoPrivilegesPageProps)
return (
<EuiEmptyPrompt
iconColor="default"
iconType="addDataApp"
iconType="casesApp"
title={<h2>{i18n.NO_PRIVILEGES_TITLE}</h2>}
titleSize="xs"
body={<p>{i18n.NO_PRIVILEGES_MSG(pageName)}</p>}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/cases/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class CasesUiPlugin
id: APP_ID,
title: APP_TITLE,
description: APP_DESC,
icon: 'watchesApp',
icon: 'casesApp',
path: APP_PATH,
showOnHomePage: false,
category: 'admin',
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/cases/server/saved_object_types/cases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const createCaseSavedObjectType = (
management: {
importableAndExportable: true,
defaultSearchField: 'title',
icon: 'folderExclamation',
icon: 'casesApp',
getTitle: (savedObject: SavedObject<ESCaseAttributes>) => savedObject.attributes.title,
onExport: async (
context: SavedObjectsExportTransformContext,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const EmptyPageComponent = React.memo<EmptyPageProps>(({ actions, message, title

return (
<EmptyPrompt
iconType="logoObservability"
iconType="casesApp"
title={<h2>{title}</h2>}
body={message && <p>{message}</p>}
actions={<EuiFlexGroup justifyContent="center">{renderActions}</EuiFlexGroup>}
Expand Down

0 comments on commit 19ab0f1

Please sign in to comment.