Created
August 27, 2020 08:53
-
-
Save ZeroByter/09568b5135a9e0be00e5175d1b46832a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var updateData = {} | |
updateData.$unset = {} | |
updateData.$unset["lists." + this.props.listIndex + ".cards." + this.props.cardIndex + ".checklists." + this.props.checklistIndex] = true | |
db.update({_id: this.props.boardId}, updateData, function(){ | |
this.props.reloadBoard() | |
}.bind(this)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment