mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-11 18:13:52 +02:00
Fix add board
This commit is contained in:
parent
4ed2e02fef
commit
5269175248
@ -175,7 +175,7 @@ class Sidebar extends React.Component<Props, State> {
|
||||
|
||||
<br/>
|
||||
|
||||
<Button onClick={this.addBoardClicked}>
|
||||
<Button onClick={() => {this.addBoardClicked()}}>
|
||||
<FormattedMessage
|
||||
id='Sidebar.add-board'
|
||||
defaultMessage='+ Add Board'
|
||||
@ -268,9 +268,8 @@ class Sidebar extends React.Component<Props, State> {
|
||||
if (oldBoardId) {
|
||||
showBoard(oldBoardId)
|
||||
}
|
||||
})
|
||||
|
||||
await mutator.insertBlock(board)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
private hideClicked() {
|
||||
|
Loading…
Reference in New Issue
Block a user