diff --git a/x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_empty_prompt.tsx b/x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_empty_prompt.tsx index c76b385cfccc5..b6300832551e8 100644 --- a/x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_empty_prompt.tsx +++ b/x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_empty_prompt.tsx @@ -147,7 +147,7 @@ export const ApiKeysEmptyPrompt: FunctionComponent = ({ return ( { diff --git a/x-pack/plugins/security/public/management/role_mappings/role_mappings_grid/create_role_mapping_button/create_role_mapping_button.tsx b/x-pack/plugins/security/public/management/role_mappings/role_mappings_grid/create_role_mapping_button/create_role_mapping_button.tsx index 4aa55840cc7f8..ab9ce044f7b4c 100644 --- a/x-pack/plugins/security/public/management/role_mappings/role_mappings_grid/create_role_mapping_button/create_role_mapping_button.tsx +++ b/x-pack/plugins/security/public/management/role_mappings/role_mappings_grid/create_role_mapping_button/create_role_mapping_button.tsx @@ -21,6 +21,7 @@ interface CreateRoleMappingButtonProps { export const CreateRoleMappingButton = ({ history }: CreateRoleMappingButtonProps) => { return ( = ({ history, readOnly = false, }) => ( - @@ -40,14 +40,12 @@ export const EmptyPrompt: React.FunctionComponent = ({ } body={ - -

- -

-
+

+ +

} actions={readOnly ? null : } data-test-subj="roleMappingsEmptyPrompt" diff --git a/x-pack/plugins/security/public/management/role_mappings/role_mappings_grid/role_mappings_grid_page.tsx b/x-pack/plugins/security/public/management/role_mappings/role_mappings_grid/role_mappings_grid_page.tsx index e6feadd199b02..ad8f204fa75cd 100644 --- a/x-pack/plugins/security/public/management/role_mappings/role_mappings_grid/role_mappings_grid_page.tsx +++ b/x-pack/plugins/security/public/management/role_mappings/role_mappings_grid/role_mappings_grid_page.tsx @@ -136,11 +136,7 @@ export class RoleMappingsGridPage extends Component { } if (loadState === 'finished' && roleMappings && roleMappings.length === 0) { - return ( - - - - ); + return ; } return (