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:
parent
7bf8f9ba41
commit
ce74950566
@ -100,6 +100,10 @@ const BoardSelector = () => {
|
|||||||
const newBoard = createBoard({...board, channelId: currentChannel})
|
const newBoard = createBoard({...board, channelId: currentChannel})
|
||||||
await mutator.updateBoard(newBoard, board, 'linked channel')
|
await mutator.updateBoard(newBoard, board, 'linked channel')
|
||||||
setShowLinkBoardConfirmation(null)
|
setShowLinkBoardConfirmation(null)
|
||||||
|
dispatch(setLinkToChannel(''))
|
||||||
|
setResults([])
|
||||||
|
setIsSearching(false)
|
||||||
|
setSearchQuery('')
|
||||||
}
|
}
|
||||||
|
|
||||||
const unlinkBoard = async (board: Board): Promise<void> => {
|
const unlinkBoard = async (board: Board): Promise<void> => {
|
||||||
|
Loading…
Reference in New Issue
Block a user