Skip to content

Commit

Permalink
Use default styling in renderRequirementsSecurityOperations component
Browse files Browse the repository at this point in the history
  • Loading branch information
asteriscos committed Sep 16, 2024
1 parent 46414aa commit 2b3cfd2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ import { i18n } from '@osd/i18n';
export const MAX_ENTRIES_PER_QUERY = 10000;

const renderRequirementsSecurityOperations = (value: []) => {
return (
<EuiText style={{ fontSize: '13px' }} gutterSize='s' direction='column'>
{value.join(', ')}
</EuiText>
);
return <span>{Array.isArray(value) ? value.join(', ') : value}</span>;
};

const renderMitreTechnique = technique => (
Expand Down

0 comments on commit 2b3cfd2

Please sign in to comment.