Added functionality to close boardSelector after linking board (#3758)
This commit is contained in:
parent
7bf8f9ba41
commit
ce74950566
1 changed files with 4 additions and 0 deletions
|
@ -100,6 +100,10 @@ const BoardSelector = () => {
|
|||
const newBoard = createBoard({...board, channelId: currentChannel})
|
||||
await mutator.updateBoard(newBoard, board, 'linked channel')
|
||||
setShowLinkBoardConfirmation(null)
|
||||
dispatch(setLinkToChannel(''))
|
||||
setResults([])
|
||||
setIsSearching(false)
|
||||
setSearchQuery('')
|
||||
}
|
||||
|
||||
const unlinkBoard = async (board: Board): Promise<void> => {
|
||||
|
|
Loading…
Reference in a new issue