Skip to content

Commit

Permalink
allow reorder only in same type of columns
Browse files Browse the repository at this point in the history
  • Loading branch information
tempo22 committed Jan 31, 2019
1 parent 4582299 commit 0311e22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/-private/column-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,9 @@ export default class ColumnTree extends EmberObject {
left -= getInnerClientRect(this.container).width * this.scale;
}

let subcolumns = get(column.parent, 'subcolumnNodes');
let subcolumns = get(column.parent, 'subcolumnNodes').filter(
subcolumn => subcolumn.isFixed === isFixed
);

for (let column of subcolumns) {
let offset = get(column, 'element.offsetLeft');
Expand Down

0 comments on commit 0311e22

Please sign in to comment.