Skip to content
Snippets Groups Projects
Verified Commit 382ba833 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #12620 TIME 0:30 drag and drop after filter in export list

parent 8c8793dc
No related branches found
No related tags found
No related merge requests found
......@@ -262,7 +262,7 @@ export class ExportComponent implements OnInit {
} else {
let realIndex = event.previousIndex;
if (event.container.id == 'cdk-drop-list-1') {
if (event.container.id == 'cdk-drop-list-10') {
realIndex = 0;
if ($j('.available-data .columns')[event.previousIndex] !== undefined) {
const fakeIndex = $j('.available-data .columns')[event.previousIndex].id;
......@@ -351,7 +351,9 @@ export class ExportComponent implements OnInit {
addAllData() {
this.exportModel.data = this.exportModel.data.concat(this.dataAvailable);
this.dataAvailable = [];
while(this.dataAvailable.length > 0) {
this.dataAvailable.pop();
}
this.listFilter.nativeElement.value = '';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment