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 committed Jul 22, 2020
1 parent 7e4a780 commit 144c9b6
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 144c9b6

Please sign in to comment.