Skip to content

Commit

Permalink
Fixed #9906 - When table is lazy and having multiSortMeta then "lazyL…
Browse files Browse the repository at this point in the history
…oad" execute twice
  • Loading branch information
yigitfindikli committed Feb 17, 2021
1 parent 979f95e commit ca46e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable

if (simpleChange.multiSortMeta) {
this._multiSortMeta = simpleChange.multiSortMeta.currentValue;
if (this.sortMode === 'multiple' && (this.initialized || !this.virtualScroll)) {
if (this.sortMode === 'multiple' && (this.initialized || (!this.lazy && !this.virtualScroll))) {
this.sortMultiple();
}
}
Expand Down

0 comments on commit ca46e09

Please sign in to comment.