mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
[Fix Adding Labels to cards is not possible anymore](https://github.com/wekan/wekan/issues/2223).
Thanks to xet7 ! Closes #2223
This commit is contained in:
parent
0b64a46bdc
commit
763cf81c97
5 changed files with 98 additions and 42 deletions
|
|
@ -16,8 +16,9 @@ Meteor.methods({
|
|||
check(description, String);
|
||||
check(params, Object);
|
||||
|
||||
// label activity did not work yet, see wekan/models/activities.js
|
||||
const quoteParams = _.clone(params);
|
||||
['card', 'list', 'oldList', 'board', 'oldBoard', 'comment', 'checklist', 'label', 'swimlane', 'oldSwimlane'].forEach((key) => {
|
||||
['card', 'list', 'oldList', 'board', 'oldBoard', 'comment', 'checklist', 'swimlane', 'oldSwimlane'].forEach((key) => {
|
||||
if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue