mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
add action: set card color
This commit is contained in:
parent
3368ebf067
commit
f4f0f489eb
4 changed files with 57 additions and 6 deletions
|
|
@ -87,6 +87,9 @@ RulesHelper = {
|
|||
if(action.actionType === 'unarchive'){
|
||||
card.restore();
|
||||
}
|
||||
if(action.actionType === 'setColor'){
|
||||
card.setColor(action.selectedColor);
|
||||
}
|
||||
if(action.actionType === 'addLabel'){
|
||||
card.addLabel(action.labelId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue