diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/results_links/results_links.js b/x-pack/plugins/ml/public/file_datavisualizer/components/results_links/results_links.js index 04c74171f7aa1..154cb397d991d 100644 --- a/x-pack/plugins/ml/public/file_datavisualizer/components/results_links/results_links.js +++ b/x-pack/plugins/ml/public/file_datavisualizer/components/results_links/results_links.js @@ -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; @@ -90,14 +91,16 @@ export class ResultsLinks extends Component { /> - - } - title="Create new ML job" - description="" - href={`${uiChrome.getBasePath()}/app/ml#/jobs/new_job/step/job_type?index=${indexPatternId}${_g}`} - /> - + {(isFullLicense() === true) && + + } + title="Create new ML job" + description="" + href={`${uiChrome.getBasePath()}/app/ml#/jobs/new_job/step/job_type?index=${indexPatternId}${_g}`} + /> + + }