Skip to content

Commit e6ac33f

Browse files
committed
fix(plugin-outline): fix matched title highlight
1 parent bd85ca3 commit e6ac33f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/plugin-outline-pane/src/views/tree-title.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,15 @@ export default class TreeTitle extends PureComponent<{
8585

8686
componentDidMount() {
8787
const { treeNode } = this.props;
88+
const { filterWorking, matchSelf, keywords } = treeNode.filterReult;
8889
this.setState({
8990
editing: false,
9091
title: treeNode.titleLabel,
9192
condition: treeNode.condition,
9293
visible: !treeNode.hidden,
94+
filterWorking,
95+
matchSelf,
96+
keywords,
9397
});
9498
treeNode.onTitleLabelChanged(() => {
9599
this.setState({

0 commit comments

Comments
 (0)