Skip to content

Commit 35360fe

Browse files
fix: Selecting a saved filter in data browser also highlights other filters with equal names (#2466)
1 parent 046356a commit 35360fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CategoryList/CategoryList.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default class CategoryList extends React.Component {
102102
let count = c.count;
103103
let className = id === this.props.current ? styles.active : '';
104104
let selectedFilter = null;
105-
if (this.state.openClasses.includes(id)) {
105+
if (this.state.openClasses.includes(id) && id === this.props.current) {
106106
const query = new URLSearchParams(this.props.params);
107107
if (query.has('filters')) {
108108
const queryFilter = query.get('filters')

0 commit comments

Comments
 (0)