We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a108b23 commit 8483574Copy full SHA for 8483574
x-pack/plugins/ml/public/application/explorer/hooks/use_selected_cells.ts
@@ -33,12 +33,13 @@ export const useSelectedCells = (): [
33
34
const setSelectedCells = (swimlaneSelectedCells: AppStateSelectedCells) => {
35
const mlExplorerSwimlane = { ...appState.mlExplorerSwimlane };
36
+
37
if (swimlaneSelectedCells !== undefined) {
38
swimlaneSelectedCells.showTopFieldValues = false;
39
40
const currentSwimlaneType = selectedCells?.type;
41
const currentShowTopFieldValues = selectedCells?.showTopFieldValues;
- const newSwimlaneType = selectedCells?.type;
42
+ const newSwimlaneType = swimlaneSelectedCells?.type;
43
44
if (
45
(currentSwimlaneType === SWIMLANE_TYPE.OVERALL &&
0 commit comments