fix lint error

This commit is contained in:
Alex Corey
2019-09-30 16:38:51 -04:00
parent 55378c635e
commit 6c443a0a6a

View File

@@ -48,7 +48,7 @@ const RightDataListCell = styled(DataListCell)`
&& { && {
padding-top: 0px; padding-top: 0px;
flex: 0 0 33%; flex: 0 0 33%;
padding-right: 20px padding-right: 20px;
} }
} }
`; `;
@@ -81,13 +81,25 @@ class TemplateListItem extends Component {
</span> </span>
</LeftDataListCell>, </LeftDataListCell>,
<RightDataListCell <RightDataListCell
css="padding-left: 40px;" righthalf="true" key="type"> css="padding-left: 40px;"
righthalf="true"
key="type"
>
{toTitleCase(template.type)} {toTitleCase(template.type)}
</RightDataListCell>, </RightDataListCell>,
<RightDataListCell css="flex: 1;" righthalf="true" key="sparkline"> <RightDataListCell
css="flex: 1;"
righthalf="true"
key="sparkline"
>
<Sparkline jobs={template.summary_fields.recent_jobs} /> <Sparkline jobs={template.summary_fields.recent_jobs} />
</RightDataListCell>, </RightDataListCell>,
<RightDataListCell css="max-width: 40px;" righthalf="true" lastcolumn="true" key="launch"> <RightDataListCell
css="max-width: 40px;"
righthalf="true"
lastcolumn="true"
key="launch"
>
{canLaunch && template.type === 'job_template' && ( {canLaunch && template.type === 'job_template' && (
<Tooltip content={i18n._(t`Launch`)} position="top"> <Tooltip content={i18n._(t`Launch`)} position="top">
<LaunchButton <LaunchButton