mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Fix table values display
This commit is contained in:
parent
cc0ecd8783
commit
3ff690aba3
@ -27,8 +27,11 @@ class TableRow extends React.Component {
|
||||
getDisplayedValue(type, value) {
|
||||
switch (type.toLowerCase()) {
|
||||
case 'string':
|
||||
case 'text':
|
||||
return value && !isEmpty(value.toString()) ? value.toString() : '-';
|
||||
case 'float':
|
||||
case 'integer':
|
||||
case 'biginteger':
|
||||
return value && !isEmpty(value.toString()) ? value.toString() : '-';
|
||||
case 'boolean':
|
||||
return value && !isEmpty(value.toString()) ? value.toString() : '-';
|
||||
|
Loading…
x
Reference in New Issue
Block a user