Skip to content

Commit d2dbbcd

Browse files
author
arturd
committed
Keeping BLACKLISTED_FILTERS in single place
1 parent be5194c commit d2dbbcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/BrowserFilter/BrowserFilter.react.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import ReactDOM from 'react-dom';
1717
import styles from 'components/BrowserFilter/BrowserFilter.scss';
1818
import { List, Map } from 'immutable';
1919

20-
const BLACKLISTED_FILTERS = [ 'containsAny', 'doesNotContainAny' ];
2120
const POPOVER_CONTENT_ID = 'browserFilterPopover';
2221

2322
export default class BrowserFilter extends React.Component {
@@ -27,7 +26,7 @@ export default class BrowserFilter extends React.Component {
2726
this.state = {
2827
open: false,
2928
filters: new List(),
30-
blacklistedFilters: BLACKLISTED_FILTERS.concat(props.blacklistedFilters)
29+
blacklistedFilters: Filters.BLACKLISTED_FILTERS.concat(props.blacklistedFilters)
3130
};
3231
this.toggle = this.toggle.bind(this);
3332
}

0 commit comments

Comments
 (0)