From 36c9d5dd3dd51f70c8d38a0a28e5ddb59d8520d7 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. --- 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 46794e0a3c9c6..b7b665689c106 100644 --- a/src/plugins/data/server/ui_settings.ts +++ b/src/plugins/data/server/ui_settings.ts @@ -471,6 +471,7 @@ export function getUiSettings( '', }, }), + requiresPageReload: true, schema: enableValidations ? schema.arrayOf( schema.object({