mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 09:15:39 +03:00
feat: Add board setting to expand task lists by default
Closes #683, closes #1333
This commit is contained in:
@@ -33,15 +33,16 @@ module.exports = {
|
||||
defaultCardType: {
|
||||
type: 'string',
|
||||
isIn: Object.values(Card.Types),
|
||||
allowNull: true,
|
||||
},
|
||||
limitCardTypesToDefaultOne: {
|
||||
type: 'boolean',
|
||||
allowNull: true,
|
||||
},
|
||||
alwaysDisplayCardCreator: {
|
||||
type: 'boolean',
|
||||
},
|
||||
expandTaskListsByDefault: {
|
||||
type: 'boolean',
|
||||
},
|
||||
isSubscribed: {
|
||||
type: 'boolean',
|
||||
},
|
||||
@@ -79,6 +80,7 @@ module.exports = {
|
||||
'defaultCardType',
|
||||
'limitCardTypesToDefaultOne',
|
||||
'alwaysDisplayCardCreator',
|
||||
'expandTaskListsByDefault',
|
||||
);
|
||||
}
|
||||
if (isBoardMember) {
|
||||
@@ -96,6 +98,7 @@ module.exports = {
|
||||
'defaultCardType',
|
||||
'limitCardTypesToDefaultOne',
|
||||
'alwaysDisplayCardCreator',
|
||||
'expandTaskListsByDefault',
|
||||
'isSubscribed',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user