If we don't emit the select event, the action button can become stale and not
update when the data changes.
This fixes a regression introduced in
31e9bbb9b308277d2f89390d5ff62f13457d69cb
Fixes: https://tracker.ceph.com/issues/47175
Signed-off-by: Tiago Melo <tmelo@suse.com>
// https://github.com/swimlane/ngx-datatable/issues/899
if (_.has($event, 'selected')) {
this.selection.selected = $event['selected'];
- this.updateSelection.emit(_.clone(this.selection));
}
+ this.updateSelection.emit(_.clone(this.selection));
}
toggleColumn(column: CdTableColumn) {