1
0
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:
Chen-I Lim 2021-03-08 11:46:46 -08:00
parent e5d16ac963
commit cdb13da950

View File

@ -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
}