[ML] Fixing edit buttons in advanced wizard summary (#49324)

This commit is contained in:
James Gowdy 2019-10-25 15:59:31 +01:00 committed by GitHub
parent 7ecf5ac935
commit 909d28fe38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,9 +108,11 @@ export const DetectorList: FC<Props> = ({ isActive, onEditJob, onDeleteJob }) =>
detectorToString(d)
)}
</EuiFlexItem>
<EuiFlexItem grow={false} style={{ margin: '8px' }}>
<Buttons index={i} />
</EuiFlexItem>
{isActive && (
<EuiFlexItem grow={false} style={{ margin: '8px' }}>
<Buttons index={i} />
</EuiFlexItem>
)}
</EuiFlexGroup>
{d.detector_description !== undefined && (
<Fragment>