mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security solution] Re-add country flag to Top Countries Table (#149460)
This commit is contained in:
parent
181950af06
commit
cdab97bd47
1 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@ import numeral from '@elastic/numeral';
|
|||
import React from 'react';
|
||||
import type { DataViewBase } from '@kbn/es-query';
|
||||
import { CellActions, CellActionsMode } from '@kbn/cell-actions';
|
||||
import { CountryFlagAndName } from '../source_destination/country_flag';
|
||||
import type {
|
||||
NetworkTopCountriesEdges,
|
||||
TopNetworkTablesEcsField,
|
||||
|
@ -17,7 +18,7 @@ import type {
|
|||
import { FlowTargetSourceDest } from '../../../../../common/search_strategy/security_solution/network';
|
||||
import { networkModel } from '../../store';
|
||||
import { escapeDataProviderId } from '../../../../common/components/drag_and_drop/helpers';
|
||||
import { defaultToEmptyTag, getEmptyTagValue } from '../../../../common/components/empty_value';
|
||||
import { getEmptyTagValue } from '../../../../common/components/empty_value';
|
||||
import type { Columns } from '../../../components/paginated_table';
|
||||
import * as i18n from './translations';
|
||||
import { PreferenceFormattedBytes } from '../../../../common/components/formatted_bytes';
|
||||
|
@ -66,7 +67,7 @@ export const getNetworkTopCountriesColumns = (
|
|||
type: 'keyword',
|
||||
}}
|
||||
>
|
||||
{defaultToEmptyTag(geo)}
|
||||
<CountryFlagAndName countryCode={geo} />
|
||||
</CellActions>
|
||||
);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue