Fix datatable multirow multiple selection and deletion (#1764)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-06-06 21:54:13 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 75686c7f4c
commit 6bba522108
8 changed files with 45 additions and 25 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export class ClientsComponent implements OnInit {
totalRows: number;
isLoading = false;
pageSize = 50;
currentPage = 0;
filterText = '';
+2 -2
View File
@@ -389,7 +389,7 @@ export class ClientsService {
},
page,
size: pageSize
}
};
if (sortAttribute !== '' && sortDirection !== '') {
request = {
...request,
@@ -399,7 +399,7 @@ export class ClientsService {
property: sortAttribute
}
]
}
};
}
return this.http.post(`/v2/clients/search`, request);
}