Skip to content

Commit

Permalink
[ML] Fixes reordering in view by selection when overall cell selected (
Browse files Browse the repository at this point in the history
  • Loading branch information
peteharverson committed May 6, 2020
1 parent 85ef5c0 commit 8c172d6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ export const useSelectedCells = (): [

const setSelectedCells = (swimlaneSelectedCells: AppStateSelectedCells) => {
const mlExplorerSwimlane = { ...appState.mlExplorerSwimlane };

if (swimlaneSelectedCells !== undefined) {
swimlaneSelectedCells.showTopFieldValues = false;

const currentSwimlaneType = selectedCells?.type;
const currentShowTopFieldValues = selectedCells?.showTopFieldValues;
const newSwimlaneType = selectedCells?.type;
const newSwimlaneType = swimlaneSelectedCells?.type;

if (
(currentSwimlaneType === SWIMLANE_TYPE.OVERALL &&
Expand Down

0 comments on commit 8c172d6

Please sign in to comment.