New feature: Sidebar / Card Settings / Creator at minicard.

Thanks to Roemer and xet7 !

Related https://github.com/wekan/wekan/discussions/5217
This commit is contained in:
Lauri Ojansivu 2023-12-01 13:31:16 +02:00
parent 7f7d06be65
commit f324286911
4 changed files with 38 additions and 5 deletions

View file

@ -464,6 +464,14 @@ Boards.attachSchema(
defaultValue: true,
},
allowsCreatorOnMinicard: {
/**
* Does the board allow creator?
*/
type: Boolean,
defaultValue: false,
},
allowsAssignee: {
/**
* Does the board allows assignee?
@ -1407,6 +1415,10 @@ Boards.mutations({
return { $set: { allowsCreator } };
},
setAllowsCreatorOnMinicard(allowsCreatorOnMinicard) {
return { $set: { allowsCreatorOnMinicard } };
},
setAllowsMembers(allowsMembers) {
return { $set: { allowsMembers } };
},