mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-21 13:38:56 +02:00
don't return until all blocks handled
This commit is contained in:
parent
82007d81e4
commit
be9825e4ae
@ -30,7 +30,6 @@ const contentsSlice = createSlice({
|
||||
for (let i = 0; i < state.contentsByCard[content.parentId].length; i++) {
|
||||
if (state.contentsByCard[content.parentId][i].id === content.id) {
|
||||
state.contentsByCard[content.parentId][i] = content
|
||||
return
|
||||
}
|
||||
}
|
||||
state.contentsByCard[content.parentId].push(content)
|
||||
|
Loading…
Reference in New Issue
Block a user