[Security Solution][Detections] Improves Table UI: do not show dash when tags field is empty #119726 (#119753)

Co-authored-by: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2021-11-25 14:49:18 -05:00 committed by GitHub
parent acdee4c380
commit 227a9b35fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -189,7 +189,7 @@ export const getColumns = ({
align: 'center',
render: (tags: Rule['tags']) => {
if (tags.length === 0) {
return getEmptyTagValue();
return null;
}
const renderItem = (tag: string, i: number) => (