mirror of
https://github.com/wekan/wekan.git
synced 2026-02-03 15:11:48 +01:00
Checklist, hide checked checklist items (configureable at each checklist)
This commit is contained in:
parent
7623c8dcb7
commit
bb17feaa17
5 changed files with 48 additions and 19 deletions
|
|
@ -477,9 +477,9 @@ Cards.attachSchema(
|
|||
type: Boolean,
|
||||
defaultValue: false,
|
||||
},
|
||||
hideCheckedChecklistItems: {
|
||||
hideFinishedChecklistIfItemsAreHidden: {
|
||||
/**
|
||||
* hide the checked checklist-items?
|
||||
* hide completed checklist?
|
||||
*/
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
|
|
@ -2186,10 +2186,10 @@ Cards.mutations({
|
|||
};
|
||||
},
|
||||
|
||||
toggleHideCheckedChecklistItems() {
|
||||
toggleHideFinishedChecklist() {
|
||||
return {
|
||||
$set: {
|
||||
hideCheckedChecklistItems: !this.hideCheckedChecklistItems,
|
||||
hideFinishedChecklistIfItemsAreHidden: !this.hideFinishedChecklistIfItemsAreHidden,
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue