Merge pull request #3857 from mfilser/view_and_change_card_sort_number

View and change card sort number
This commit is contained in:
Lauri Ojansivu 2021-06-11 14:33:43 +03:00 committed by GitHub
commit ac3d658cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 84 additions and 0 deletions

View file

@ -373,6 +373,14 @@ Boards.attachSchema(
defaultValue: true,
},
allowsCardSortingByNumber: {
/**
* Does the board allows card sorting by number?
*/
type: Boolean,
defaultValue: true,
},
allowsAssignedBy: {
/**
* Does the board allows requested by?
@ -1190,6 +1198,10 @@ Boards.mutations({
return { $set: { allowsRequestedBy } };
},
setAllowsCardSortingByNumber(allowsCardSortingByNumber) {
return { $set: { allowsCardSortingByNumber } };
},
setAllowsAttachments(allowsAttachments) {
return { $set: { allowsAttachments } };
},