mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-15 09:14:11 +02:00
Fix #66: Maintain view when searching for text
This commit is contained in:
parent
e5d16ac963
commit
cdb13da950
@ -440,6 +440,9 @@ class MutableBoardTree implements BoardTree {
|
||||
|
||||
copyWithSearchText(searchText?: string): BoardTree {
|
||||
const boardTree = this.mutableCopy()
|
||||
if (this.activeView) {
|
||||
boardTree.setActiveView(this.activeView.id)
|
||||
}
|
||||
boardTree.setSearchText(searchText)
|
||||
return boardTree
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user