mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
Board level settings for subtasks
This commit is contained in:
parent
c9f70cf382
commit
94a52080cf
8 changed files with 140 additions and 4 deletions
|
|
@ -161,6 +161,10 @@ Boards.attachSchema(new SimpleSchema({
|
|||
optional: true,
|
||||
defaultValue: null,
|
||||
},
|
||||
allowsSubtasks: {
|
||||
type: Boolean,
|
||||
defaultValue: true,
|
||||
},
|
||||
}));
|
||||
|
||||
|
||||
|
|
@ -473,6 +477,18 @@ Boards.mutations({
|
|||
},
|
||||
};
|
||||
},
|
||||
|
||||
setAllowsSubtasks(allowsSubtasks) {
|
||||
return { $set: { allowsSubtasks } };
|
||||
},
|
||||
|
||||
setSubtasksDefaultBoardId(subtasksDefaultBoardId) {
|
||||
return { $set: { subtasksDefaultBoardId } };
|
||||
},
|
||||
|
||||
setSubtasksDefaultListId(subtasksDefaultListId) {
|
||||
return { $set: { subtasksDefaultListId } };
|
||||
},
|
||||
});
|
||||
|
||||
if (Meteor.isServer) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue