Skip to content

Commit

Permalink
fix #126 clone duplicate column
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Jan 8, 2019
1 parent 2dcfbe3 commit 43f5d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider/ADataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ abstract class ADataProvider extends AEventDispatcher implements IDataProvider {
let hasColumn = false;
const toClone = !ranking ? [col] : ranking.children.filter((c) => {
if (c === col) {
hasColumn = false;
hasColumn = true;
return true;
}
if (!hasString && c.desc.type === 'string') {
Expand Down

0 comments on commit 43f5d1e

Please sign in to comment.