diff --git a/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js b/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js index 5276a344286a..61f4deba46f6 100644 --- a/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js +++ b/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js @@ -399,7 +399,7 @@ export const LinksMenu = injectI18n(class LinksMenu extends Component { items.push( { this.closePopover(); this.viewSeries(); }} > window.open(getExploreSeriesLink(series), '_blank')} > diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/_index.scss b/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/_index.scss index babb5b5fb43e..3930bb1cf73a 100644 --- a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/_index.scss +++ b/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/_index.scss @@ -1,2 +1 @@ @import 'job_details'; -@import 'forecasts_table/index'; diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/_forcasts_table.scss b/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/_forcasts_table.scss deleted file mode 100644 index 137e3a18fb27..000000000000 --- a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/_forcasts_table.scss +++ /dev/null @@ -1,32 +0,0 @@ -// SASSTODO: This has dangerous EUI overrides and should be removed. Some of it should just use the JS props -.forecasts-table { - .euiTable { - font-size: 12px; - - th:last-child { - width: 60px; - } - - td { - .euiTableCellContent { - padding-top: 4px; - padding-bottom: 4px; - } - } - } - - .view-forecast-btn { - width: 35px; - min-width: 35px; - height: 24px; - - .euiButton__content { - padding: 0px 8px; - } - } - - .euiLink { - font-family: inherit; - } - } - \ No newline at end of file diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/_index.scss b/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/_index.scss deleted file mode 100644 index d928a326026b..000000000000 --- a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/_index.scss +++ /dev/null @@ -1 +0,0 @@ -@import 'forcasts_table'; \ No newline at end of file diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js b/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js index 513c9d4fb89b..28cbb2cf8553 100644 --- a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js +++ b/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js @@ -14,7 +14,7 @@ import React, { } from 'react'; import { - EuiButton, + EuiButtonIcon, EuiCallOut, EuiFlexGroup, EuiFlexItem, @@ -282,21 +282,29 @@ class ForecastsTableUI extends Component { id: 'xpack.ml.jobsList.jobDetails.forecastsTable.viewLabel', defaultMessage: 'View' }), - render: (forecast) => ( - this.openSingleMetricView(forecast)} - className="view-forecast-btn" - isDisabled={forecast.forecast_status !== FORECAST_REQUEST_STATE.FINISHED} - > -