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:
|
* showOnFrontOfCard:
|
||||||
* type: boolean
|
* type: boolean
|
||||||
* description: Whether to show the field on the front of cards
|
* description: Whether to show the field on the front of cards
|
||||||
* example: true
|
* example: false
|
||||||
* responses:
|
* responses:
|
||||||
* 200:
|
* 200:
|
||||||
* description: Custom field created successfully
|
* description: Custom field created successfully
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
* showOnFrontOfCard:
|
* showOnFrontOfCard:
|
||||||
* type: boolean
|
* type: boolean
|
||||||
* description: Whether to show the field on the front of cards
|
* description: Whether to show the field on the front of cards
|
||||||
* example: true
|
* example: false
|
||||||
* responses:
|
* responses:
|
||||||
* 200:
|
* 200:
|
||||||
* description: Custom field created successfully
|
* description: Custom field created successfully
|
||||||
|
|||||||
@@ -50,8 +50,9 @@
|
|||||||
* example: Priority
|
* example: Priority
|
||||||
* showOnFrontOfCard:
|
* showOnFrontOfCard:
|
||||||
* type: boolean
|
* type: boolean
|
||||||
|
* default: false
|
||||||
* description: Whether to show the field on the front of cards
|
* description: Whether to show the field on the front of cards
|
||||||
* example: true
|
* example: false
|
||||||
* createdAt:
|
* createdAt:
|
||||||
* type: string
|
* type: string
|
||||||
* format: date-time
|
* format: date-time
|
||||||
@@ -82,7 +83,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
showOnFrontOfCard: {
|
showOnFrontOfCard: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
required: true,
|
defaultsTo: false,
|
||||||
columnName: 'show_on_front_of_card',
|
columnName: 'show_on_front_of_card',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user