From 7f1503e108148e30180f718f86c45e1f32266684 Mon Sep 17 00:00:00 2001 From: Matthias Wilhelm Date: Fri, 8 Nov 2024 16:23:53 +0100 Subject: [PATCH] Simplify code --- .../public/application/main/state_management/discover_state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/discover/public/application/main/state_management/discover_state.ts b/src/plugins/discover/public/application/main/state_management/discover_state.ts index e2bf085216988..3dce218b5fce8 100644 --- a/src/plugins/discover/public/application/main/state_management/discover_state.ts +++ b/src/plugins/discover/public/application/main/state_management/discover_state.ts @@ -434,7 +434,7 @@ export function getDiscoverStateContainer({ } await loadDataViewList(); addLog('[getDiscoverStateContainer] onDataViewEdited triggers data fetching'); - internalStateContainer.transitions.setIsLoading(false); + setIsLoading(false); fetchData(); };