Skip to content

Commit

Permalink
fix(ui): cannot push to nil when filtering by label (#3555)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbreeze authored and alexec committed Jul 28, 2020
1 parent 61b5bd9 commit e94cf8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ export class WorkflowsList extends BasePage<RouteComponentProps<any>, State> {
params.append('phase', phase);
});
newOptions.selectedPhases = selectedPhases;
newOptions.selectedLabels = [];
selectedLabels.forEach(label => {
params.append('label', label);
newOptions.selectedLabels.push(label);
});
newOptions.selectedLabels = selectedLabels;
if (pagination.offset) {
params.append('offset', pagination.offset);
}
Expand Down

0 comments on commit e94cf8a

Please sign in to comment.