Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Feb 18, 2020
1 parent 8752c1d commit 10e6525
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ export function FieldName({ field, fieldName, fieldType, useShortDots, fieldIcon
const name = field ? String(field.name) : String(fieldName);
const displayName = useShortDots ? shortenDottedString(name) : name;

// const className = classNames({
// 'dscField--noResults': field ? !field.rowCount && !field.scripted : false,
// // this is currently not styled, should display an icon
// scripted: field ? field.scripted : false,
// });

const noResults = field ? !field.rowCount && !field.scripted : false;

const className = classNames('dscFieldName', {
Expand All @@ -65,7 +59,7 @@ export function FieldName({ field, fieldName, fieldType, useShortDots, fieldIcon
<FieldIcon
type={type}
label={typeName}
scripted={field && field.scripted}
scripted={field ? field.scripted : false}
{...fieldIconProps}
/>
</EuiFlexItem>
Expand Down

0 comments on commit 10e6525

Please sign in to comment.