Skip to content

Commit

Permalink
Merge pull request dcos#2728 from dcos/ph/fix/task-dsl-filter
Browse files Browse the repository at this point in the history
fix(taskDSLFilters): set default value for dsl Filters
  • Loading branch information
bstavroulakis authored Feb 12, 2018
2 parents 2363ce7 + 90d5512 commit f8d357a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/services/src/js/containers/tasks/TasksContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ class TasksContainer extends React.Component {
constructor() {
super(...arguments);

const filters = new DSLFilterList([
new TasksStatusFilter(),
new TaskNameTextFilter()
]);
this.state = {
actionErrors: {},
pendingActions: {},
filterExpression: new DSLExpression(""),
filters: new DSLFilterList([]),
filters,
defaultFilterData: { zones: [], regions: [] }
};

Expand Down

0 comments on commit f8d357a

Please sign in to comment.