mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Fixed per-card and per-board settings of showing checkist at minicard.
Thanks to xet7 !
This commit is contained in:
parent
ea24010298
commit
fc32a89292
11 changed files with 102 additions and 2 deletions
|
|
@ -512,6 +512,7 @@ Boards.attachSchema(
|
|||
defaultValue: true,
|
||||
},
|
||||
|
||||
|
||||
allowsAssignedBy: {
|
||||
/**
|
||||
* Does the board allows requested by?
|
||||
|
|
@ -519,6 +520,13 @@ Boards.attachSchema(
|
|||
type: Boolean,
|
||||
defaultValue: true,
|
||||
},
|
||||
allowsShowListsOnMinicard: {
|
||||
/**
|
||||
* Does the board allow showing list names on all minicards?
|
||||
*/
|
||||
type: Boolean,
|
||||
defaultValue: false,
|
||||
},
|
||||
|
||||
allowsReceivedDate: {
|
||||
/**
|
||||
|
|
@ -1464,6 +1472,10 @@ Boards.mutations({
|
|||
return { $set: { allowsAssignedBy } };
|
||||
},
|
||||
|
||||
setAllowsShowListsOnMinicard(allowsShowListsOnMinicard) {
|
||||
return { $set: { allowsShowListsOnMinicard } };
|
||||
},
|
||||
|
||||
setAllowsRequestedBy(allowsRequestedBy) {
|
||||
return { $set: { allowsRequestedBy } };
|
||||
},
|
||||
|
|
@ -1476,6 +1488,7 @@ Boards.mutations({
|
|||
return { $set: { allowsShowLists } };
|
||||
},
|
||||
|
||||
|
||||
setAllowsAttachments(allowsAttachments) {
|
||||
return { $set: { allowsAttachments } };
|
||||
},
|
||||
|
|
|
|||
|
|
@ -484,6 +484,14 @@ Cards.attachSchema(
|
|||
type: Boolean,
|
||||
optional: true,
|
||||
},
|
||||
showListOnMinicard: {
|
||||
/**
|
||||
* show list name on minicard?
|
||||
*/
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
defaultValue: false,
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue