summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-20 19:06:20 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-10-20 19:07:24 +0200
commitf3fc154eb0cf25c46871510a0d4004037188ec15 (patch)
treedcf6674acbd7e12ad7adb60381e43a6185c1cb9c /models
parent6dedf673d5bde58c8d6ca439825cbf84303a3b4e (diff)
downloadwekan-f3fc154eb0cf25c46871510a0d4004037188ec15.tar.gz
wekan-f3fc154eb0cf25c46871510a0d4004037188ec15.tar.bz2
wekan-f3fc154eb0cf25c46871510a0d4004037188ec15.zip
Re-implement label deletion
This was not ported during v0.9 re-factor. Fixes #322
Diffstat (limited to 'models')
-rw-r--r--models/boards.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/boards.js b/models/boards.js
index d7d40251..8a9d21e8 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -319,7 +319,7 @@ if (Meteor.isServer) {
{ boardId: doc._id },
{
$pull: {
- labels: removedLabelId,
+ labelIds: removedLabelId,
},
},
{ multi: true }