mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* [ML] Add managed badge * Fix i18n Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
This commit is contained in:
parent
4da2eb9b6c
commit
8af1a3daa6
1 changed files with 14 additions and 0 deletions
|
@ -144,6 +144,20 @@ export const useColumns = (
|
|||
sortable: true,
|
||||
truncateText: true,
|
||||
scope: 'row',
|
||||
render: (transformId, item) => {
|
||||
if (item.config?._meta?.managed !== true) return transformId;
|
||||
return (
|
||||
<>
|
||||
{transformId}
|
||||
|
||||
<EuiBadge color="hollow" data-test-subj="transformListRowIsManagedBadge">
|
||||
{i18n.translate('xpack.transform.transformList.managedBadgeLabel', {
|
||||
defaultMessage: 'Managed',
|
||||
})}
|
||||
</EuiBadge>
|
||||
</>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'alertRule',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue