mirror of
https://github.com/wekan/wekan.git
synced 2026-01-30 13:15:16 +01:00
Try to get some label outgoing webhooks working.
Thanks to xet7 ! Related #4898
This commit is contained in:
parent
b64715f70a
commit
b40654cdfe
3 changed files with 23 additions and 11 deletions
|
|
@ -2820,6 +2820,7 @@ function cardLabels(userId, doc, fieldNames, modifier) {
|
|||
// Say hello to the new label
|
||||
if (modifier.$addToSet && modifier.$addToSet.labelIds) {
|
||||
labelId = modifier.$addToSet.labelIds;
|
||||
//const label = labels(labelId).name;
|
||||
if (!_.contains(doc.labelIds, labelId)) {
|
||||
const act = {
|
||||
userId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue