From 125bcb8156d4e5e6f38b057d6ea46ec0e31e2ec3 Mon Sep 17 00:00:00 2001 From: Bree Hall Date: Wed, 18 May 2022 13:29:40 -0400 Subject: [PATCH] Resolved type errors by updating the popoverPlacement prop for the EuiDatePicket component with new / valid values. A list of values were deprecated and new values were added in EUI PR #5868 (https://github.com/elastic/eui/pull/5868) --- .../inventory_view/components/waffle/waffle_time_controls.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx index 64c0f36a9cf92..9b7b969b25a54 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx @@ -66,7 +66,7 @@ export const WaffleTimeControls = withTheme(({ interval }: Props) => { injectTimes={currentMoment ? [currentMoment] : []} isLoading={isAutoReloading} onChange={handleChangeDate} - popoverPlacement="top-end" + popoverPlacement="upRight" selected={currentMoment} shouldCloseOnSelect showTimeSelect