mirror of
https://github.com/wekan/wekan.git
synced 2026-01-21 00:36:10 +01:00
Opened card Checklist menu: Hide finished tasks. Show Checklist at Minicard.
Thanks to C0rn3j and xet7 ! Fixes #6019, fixes #5567, fixes #2984
This commit is contained in:
parent
cf62807ad5
commit
fbfde81bc8
13 changed files with 312 additions and 161 deletions
|
|
@ -497,13 +497,6 @@ Cards.attachSchema(
|
|||
type: Boolean,
|
||||
defaultValue: false,
|
||||
},
|
||||
hideFinishedChecklistIfItemsAreHidden: {
|
||||
/**
|
||||
* hide completed checklist?
|
||||
*/
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
},
|
||||
showListOnMinicard: {
|
||||
/**
|
||||
* show list name on minicard?
|
||||
|
|
@ -512,6 +505,14 @@ Cards.attachSchema(
|
|||
optional: true,
|
||||
defaultValue: false,
|
||||
},
|
||||
showChecklistAtMinicard: {
|
||||
/**
|
||||
* show checklist on minicard?
|
||||
*/
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
defaultValue: false,
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
|
|
@ -2297,10 +2298,10 @@ Cards.mutations({
|
|||
};
|
||||
},
|
||||
|
||||
toggleHideFinishedChecklist() {
|
||||
toggleShowChecklistAtMinicard() {
|
||||
return {
|
||||
$set: {
|
||||
hideFinishedChecklistIfItemsAreHidden: !this.hideFinishedChecklistIfItemsAreHidden,
|
||||
showChecklistAtMinicard: !this.showChecklistAtMinicard,
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue