Skip to content

Commit

Permalink
[ML] Removing new ML job link in basic license (elastic#24676) (elast…
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic authored Oct 30, 2018
1 parent 15df226 commit eee5bdd
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
import moment from 'moment';
import uiChrome from 'ui/chrome';
import { ml } from '../../../services/ml_api_service';
import { isFullLicense } from '../../../license/check_license';

const RECHECK_DELAY_MS = 3000;

Expand Down Expand Up @@ -90,14 +91,16 @@ export class ResultsLinks extends Component {
/>
</EuiFlexItem>

<EuiFlexItem>
<EuiCard
icon={<EuiIcon size="xxl" type={`machineLearningApp`} />}
title="Create new ML job"
description=""
href={`${uiChrome.getBasePath()}/app/ml#/jobs/new_job/step/job_type?index=${indexPatternId}${_g}`}
/>
</EuiFlexItem>
{(isFullLicense() === true) &&
<EuiFlexItem>
<EuiCard
icon={<EuiIcon size="xxl" type={`machineLearningApp`} />}
title="Create new ML job"
description=""
href={`${uiChrome.getBasePath()}/app/ml#/jobs/new_job/step/job_type?index=${indexPatternId}${_g}`}
/>
</EuiFlexItem>
}

<EuiFlexItem>
<EuiCard
Expand Down

0 comments on commit eee5bdd

Please sign in to comment.