Commit 91500adf authored by Phil Hughes's avatar Phil Hughes

Correctly removes from multiple boards

parent 2fc66174
...@@ -53,6 +53,10 @@ ...@@ -53,6 +53,10 @@
boardLabels = _.map boards, (board) -> boardLabels = _.map boards, (board) ->
board.label.title board.label.title
boards.issues = _.each boards, (board) ->
board.issues = _.reject board.issues, (boardIssue) ->
issue.id is boardIssue.id
issue.labels = _.reject issue.labels, (label) -> issue.labels = _.reject issue.labels, (label) ->
boardLabels.indexOf(label.title) != -1 boardLabels.indexOf(label.title) != -1
removeIssueFromBoard: (issue, board) -> removeIssueFromBoard: (issue, board) ->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment