1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-24 08:22:29 +02:00

Added functionality to close boardSelector after linking board (#3758)

This commit is contained in:
Rajat Dabade 2022-08-31 01:02:10 +05:30 committed by GitHub
parent 7bf8f9ba41
commit ce74950566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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> => {