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 authored May 6, 2020
1 parent 36bb9fd commit b79e98e
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 b79e98e

Please sign in to comment.