From 929825239bad4c7ec162d6d8b6a1f05cb87c5212 Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Wed, 20 Dec 2023 17:15:54 +0100 Subject: [PATCH] Require page reload when changing `timepicker:quickRanges` (#173747) ## Summary fix https://github.com/elastic/kibana/issues/172601 I reviewed how this setting is used. It is directly used in a lot of places and it is hard to guarantee/fix that all places pick up the new setting. Safer to ask to reload. (cherry picked from commit 36c9d5dd3dd51f70c8d38a0a28e5ddb59d8520d7) --- src/plugins/data/server/ui_settings.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/data/server/ui_settings.ts b/src/plugins/data/server/ui_settings.ts index 5ab638a087783..0b46ff3785488 100644 --- a/src/plugins/data/server/ui_settings.ts +++ b/src/plugins/data/server/ui_settings.ts @@ -464,6 +464,7 @@ export function getUiSettings( '', }, }), + requiresPageReload: true, schema: enableValidations ? schema.arrayOf( schema.object({