diff options
-rw-r--r-- | app/assets/javascripts/boards/stores/boards_store.js.coffee | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/boards/stores/boards_store.js.coffee b/app/assets/javascripts/boards/stores/boards_store.js.coffee index 7c123b65acf..a2ec248ae57 100644 --- a/app/assets/javascripts/boards/stores/boards_store.js.coffee +++ b/app/assets/javascripts/boards/stores/boards_store.js.coffee @@ -53,6 +53,10 @@ boardLabels = _.map boards, (board) -> 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) -> boardLabels.indexOf(label.title) != -1 removeIssueFromBoard: (issue, board) -> |