webpack/scenes/ContentViews/components/EnvironmentLabels.js in katello-4.2.2 vs webpack/scenes/ContentViews/components/EnvironmentLabels.js in katello-4.3.0.rc1
- old
+ new
@@ -8,18 +8,19 @@
case Array:
return environments.map(env => (
<React.Fragment key={env.id} style={{ marginBottom: '5px' }}>
<Label
color="purple"
- >{`${env.name}`}
+ isTruncated
+ >{env.name}
</Label>
</React.Fragment>
));
default:
return (
<React.Fragment>
- <Label color="purple">
- {`${name}`}
+ <Label color="purple" isTruncated>
+ {name}
</Label>
</React.Fragment>
);
}
};