Fixed per-card and per-board settings of showing checkist at minicard.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-11 11:31:57 +03:00
parent ea24010298
commit fc32a89292
11 changed files with 102 additions and 2 deletions

View file

@ -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 } };
},

View file

@ -484,6 +484,14 @@ Cards.attachSchema(
type: Boolean,
optional: true,
},
showListOnMinicard: {
/**
* show list name on minicard?
*/
type: Boolean,
optional: true,
defaultValue: false,
},
}),
);