Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Jun 21, 2022
1 parent b4bc635 commit 7828852
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
Expand Up @@ -5,23 +5,18 @@
* 2.0.
*/

import React from 'react';
import { i18n } from '@kbn/i18n';
import { get } from 'lodash';
import type {
AlertsTableConfigurationRegistryContract,
GetRenderCellValue,
AlertTableFlyoutComponent,
AlertsTableFlyoutBaseProps,
} from '@kbn/triggers-actions-ui-plugin/public';
import {
AlertConsumers,
TIMESTAMP,
EVENT_ACTION,
ALERT_DURATION,
ALERT_REASON,
ALERT_STATUS,
ALERT_RULE_TYPE,
} from '@kbn/rule-data-utils';
import { getRenderCellValue } from './service_overview_alerts/get_render_cell_value';
import { AlertTableFlyoutBody } from './service_overview_alerts/alerts_table_flyout_body';
Expand Down
Expand Up @@ -6,39 +6,28 @@
*/
import React from 'react';
import { i18n } from '@kbn/i18n';
import type {
AlertsTableConfigurationRegistryContract,
GetRenderCellValue,
AlertTableFlyoutComponent,
AlertsTableFlyoutBaseProps,
} from '@kbn/triggers-actions-ui-plugin/public';
import type { AlertsTableFlyoutBaseProps } from '@kbn/triggers-actions-ui-plugin/public';
import {
EuiSpacer,
EuiTitle,
EuiText,
EuiLink,
EuiHorizontalRule,
EuiDescriptionList,
} from '@elastic/eui';
import {
AlertConsumers,
TIMESTAMP,
EVENT_ACTION,
ALERT_DURATION,
ALERT_REASON,
ALERT_STATUS,
ALERT_RULE_TYPE,
ALERT_STATUS_RECOVERED,
ALERT_STATUS_ACTIVE,
ALERT_EVALUATION_VALUE,
ALERT_EVALUATION_THRESHOLD,
ALERT_RULE_CATEGORY,
ALERT_RULE_UUID,
} from '@kbn/rule-data-utils';
import moment from 'moment-timezone';
import { useKibana } from '@kbn/kibana-react-plugin/public';

export const AlertTableFlyoutBody = (data: AlertsTableFlyoutBaseProps) => {
export function AlertTableFlyoutBody(data: AlertsTableFlyoutBaseProps) {
const { alert } = data;

const overviewListItems = [
Expand Down Expand Up @@ -113,4 +102,4 @@ export const AlertTableFlyoutBody = (data: AlertsTableFlyoutBaseProps) => {
/>
</>
);
};
}

0 comments on commit 7828852

Please sign in to comment.