Skip to content

Commit

Permalink
[Security solution] Re-add country flag to Top Countries Table (#149460)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic authored Jan 25, 2023
1 parent 181950a commit cdab97b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ 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,
} from '../../../../../common/search_strategy/security_solution/network';
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';
Expand Down Expand Up @@ -66,7 +67,7 @@ export const getNetworkTopCountriesColumns = (
type: 'keyword',
}}
>
{defaultToEmptyTag(geo)}
<CountryFlagAndName countryCode={geo} />
</CellActions>
);
} else {
Expand Down

0 comments on commit cdab97b

Please sign in to comment.