mirror of
https://github.com/plankanban/planka.git
synced 2025-12-21 17:25:39 +03:00
fix: Add missing default for showOnFrontOfCard in custom fields
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
* showOnFrontOfCard:
|
||||
* type: boolean
|
||||
* description: Whether to show the field on the front of cards
|
||||
* example: true
|
||||
* example: false
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Custom field created successfully
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
* showOnFrontOfCard:
|
||||
* type: boolean
|
||||
* description: Whether to show the field on the front of cards
|
||||
* example: true
|
||||
* example: false
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Custom field created successfully
|
||||
|
||||
@@ -50,8 +50,9 @@
|
||||
* example: Priority
|
||||
* showOnFrontOfCard:
|
||||
* type: boolean
|
||||
* default: false
|
||||
* description: Whether to show the field on the front of cards
|
||||
* example: true
|
||||
* example: false
|
||||
* createdAt:
|
||||
* type: string
|
||||
* format: date-time
|
||||
@@ -82,7 +83,7 @@ module.exports = {
|
||||
},
|
||||
showOnFrontOfCard: {
|
||||
type: 'boolean',
|
||||
required: true,
|
||||
defaultsTo: false,
|
||||
columnName: 'show_on_front_of_card',
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user