Commit 98f26bdc authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '180-bug-invalid-labels-in-status-filter'

* 180-bug-invalid-labels-in-status-filter:
  fixed invalid labels in Status filter
parents 020c7c64 0647be0f
......@@ -5,14 +5,14 @@ import StringArrFilter from 'ui/common/filter/StringArrFilter';
import { PublishState } from 'model/common.model';
interface IStatusFilter {
isMaterialRequestFilter?: true;
isMaterialRequestFilter?: boolean;
}
class StatusFilter extends React.Component<IStatusFilter, any> {
private options: object = {};
public componentWillMount() {
const isMaterialRequestFilter = this.props;
const {isMaterialRequestFilter} = this.props;
if (isMaterialRequestFilter) {
this.options[0] = 'requests.common.state.0';
this.options[1] = 'requests.common.state.1';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment