mirror of
https://github.com/strapi/strapi.git
synced 2025-11-13 16:52:18 +00:00
use default format for fields of type string and text
This commit is contained in:
parent
a8da79c6f8
commit
b85baf568e
@ -154,10 +154,6 @@ module.exports = {
|
|||||||
let type = 'String';
|
let type = 'String';
|
||||||
|
|
||||||
switch (definition.type) {
|
switch (definition.type) {
|
||||||
case 'string':
|
|
||||||
case 'text':
|
|
||||||
type = 'String';
|
|
||||||
break;
|
|
||||||
case 'boolean':
|
case 'boolean':
|
||||||
type = 'Boolean';
|
type = 'Boolean';
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user