From 10c815701fc725c7cb56b5baa70d6552a96cba32 Mon Sep 17 00:00:00 2001 From: Matt Kime Date: Sun, 8 Oct 2023 20:56:48 -0500 Subject: [PATCH] no need to refresh field list as data view picker is refreshing it for all consumers --- .../discover/public/application/main/utils/resolve_data_view.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/discover/public/application/main/utils/resolve_data_view.ts b/src/plugins/discover/public/application/main/utils/resolve_data_view.ts index fc6a1ae9d166e..761fb9764c82f 100644 --- a/src/plugins/discover/public/application/main/utils/resolve_data_view.ts +++ b/src/plugins/discover/public/application/main/utils/resolve_data_view.ts @@ -70,7 +70,7 @@ export async function loadDataView({ let fetchedDataView: DataView | null = null; // try to fetch adhoc data view first try { - fetchedDataView = fetchId ? await dataViews.get(fetchId, false, true) : null; + fetchedDataView = fetchId ? await dataViews.get(fetchId) : null; if (fetchedDataView && !fetchedDataView.isPersisted()) { return { list: dataViewList || [],