mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
Add covers for cards
This commit is contained in:
@@ -20,6 +20,11 @@ module.exports = {
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
},
|
||||
coverAttachmentId: {
|
||||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
allowNull: true,
|
||||
},
|
||||
position: {
|
||||
type: 'number',
|
||||
},
|
||||
@@ -91,6 +96,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
const values = _.pick(inputs, [
|
||||
'coverAttachmentId',
|
||||
'position',
|
||||
'name',
|
||||
'description',
|
||||
|
||||
Reference in New Issue
Block a user