From 06e8dbd5083eea3507dc23d25c361b1bf5ce1aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Mon, 31 Oct 2022 01:04:39 +0100 Subject: [PATCH] Fix story --- .../rule_types/error_count_rule_type/index.stories.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx b/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx index 9c422df230e20..424e490b732b1 100644 --- a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx +++ b/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx @@ -9,6 +9,7 @@ import { Meta, Story } from '@storybook/react'; import React, { useState } from 'react'; import { CoreStart } from '@kbn/core/public'; import { createKibanaReactContext } from '@kbn/kibana-react-plugin/public'; +import { TIME_UNITS } from '@kbn/triggers-actions-ui-plugin/public'; import { RuleParams, ErrorCountRuleType } from '.'; import { ENVIRONMENT_ALL } from '../../../../../common/environment_filter_values'; import { createCallApmApi } from '../../../../services/rest/create_call_apm_api'; @@ -129,7 +130,7 @@ EditingInStackManagement.args = { serviceName: 'testServiceName', threshold: 25, windowSize: 1, - windowUnit: 'm', + windowUnit: TIME_UNITS.MINUTE, }, metadata: undefined, };