1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-27 08:31:20 +02:00

Fix card title change

This commit is contained in:
Chen-I Lim 2020-11-06 12:49:17 -08:00
parent b86372f96b
commit 234676698e

View File

@ -62,7 +62,7 @@ class CardDetail extends React.Component<Props, State> {
Utils.log(`cardListener.onChanged: ${blocks.length}`)
const newCardTree = cardTree.mutableCopy()
newCardTree.incrementalUpdate(blocks)
this.setState({cardTree: newCardTree, title: cardTree.card.title})
this.setState({cardTree: newCardTree, title: newCardTree.card.title})
},
async () => {
Utils.log(`cardListener.onReconnect`)