Skip to content

Commit 9000a87

Browse files
authoredJul 3, 2024··
Merge pull request #2974 from AndyJinSS/filter-highlight
fix(plugin-outline): fix matched title highlight
2 parents 6950329 + 58f5bb8 commit 9000a87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

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

+4
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,16 @@ export default class TreeTitle extends PureComponent<{
8686

8787
componentDidMount() {
8888
const { treeNode } = this.props;
89+
const { filterWorking, matchSelf, keywords } = treeNode.filterReult;
8990
this.setState({
9091
editing: false,
9192
title: treeNode.titleLabel,
9293
condition: treeNode.condition,
9394
loop: treeNode.loop,
9495
visible: !treeNode.hidden,
96+
filterWorking,
97+
matchSelf,
98+
keywords,
9599
});
96100
treeNode.onTitleLabelChanged(() => {
97101
this.setState({

0 commit comments

Comments
 (0)
Please sign in to comment.