Skip to content

Commit

Permalink
added selection
Browse files Browse the repository at this point in the history
  • Loading branch information
doljko committed May 16, 2024
1 parent 44dc31d commit 4696c49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/controllers/users/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ export default class UsersIndexController extends Controller {
* @void
*/
@action exportUsers() {
this.crud.export('user');
const selections = this.table.selectedRows.map((_) => _.id);
this.crud.export('user', { params: { selections } });
}

/**
Expand Down

0 comments on commit 4696c49

Please sign in to comment.