mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
feat: collapse all nodes on clear search key
This commit is contained in:
parent
cc7012eac2
commit
8737611c17
1 changed files with 4 additions and 0 deletions
|
|
@ -309,6 +309,10 @@ class FlattenLayer extends CompressLayer {
|
|||
}
|
||||
: null,
|
||||
)
|
||||
// collapse all nodes on clearing search key
|
||||
if (!searchParams) {
|
||||
this.expandedNodes.clear()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue