Skip to content

Commit

Permalink
add all assignments fix for shopping cart
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Mar 21, 2022
1 parent 274acc2 commit 865956f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@ private RelationDropDownChoicePanel getRelationDropDown() {
private void addAllAssignmentsPerformed(AjaxRequestTarget target) {

List<AssignmentEditorDto> availableProviderData = new ArrayList<>();
getGridViewComponent().visitChildren(SelectableDataTable.SelectableRowItem.class, new IVisitor<SelectableDataTable.SelectableRowItem<AssignmentEditorDto>, Void>() {
getGridViewComponent().visitChildren(RoleCatalogItemButton.class, new IVisitor<RoleCatalogItemButton, Void>() {

@Override
public void component(SelectableDataTable.SelectableRowItem<AssignmentEditorDto> row, IVisit<Void> visit) {
public void component(RoleCatalogItemButton row, IVisit<Void> visit) {
availableProviderData.add(row.getModelObject());
}
});
Expand Down

0 comments on commit 865956f

Please sign in to comment.