mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Lens] fix text based searchSessionId (#162498)
## Summary Fixes https://github.com/elastic/kibana/issues/162496 Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
This commit is contained in:
parent
2c7d2f4f87
commit
eb248e967f
1 changed files with 2 additions and 9 deletions
|
@ -98,14 +98,8 @@ export function loadInitial(
|
|||
},
|
||||
autoApplyDisabled: boolean
|
||||
) {
|
||||
const {
|
||||
lensServices,
|
||||
datasourceMap,
|
||||
embeddableEditorIncomingState,
|
||||
initialContext,
|
||||
initialStateFromLocator,
|
||||
visualizationMap,
|
||||
} = storeDeps;
|
||||
const { lensServices, datasourceMap, initialContext, initialStateFromLocator, visualizationMap } =
|
||||
storeDeps;
|
||||
const { resolvedDateRange, searchSessionId, isLinkedToOriginatingApp, ...emptyState } =
|
||||
getPreloadedState(storeDeps);
|
||||
const { attributeService, notifications, data, dashboardFeatureFlag } = lensServices;
|
||||
|
@ -338,7 +332,6 @@ export function loadInitial(
|
|||
query: doc.state.query,
|
||||
searchSessionId:
|
||||
dashboardFeatureFlag.allowByValueEmbeddables &&
|
||||
Boolean(embeddableEditorIncomingState?.originatingApp) &&
|
||||
!(initialInput as LensByReferenceInput)?.savedObjectId &&
|
||||
currentSessionId
|
||||
? currentSessionId
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue