mirror of
https://github.com/strapi/strapi.git
synced 2025-07-24 01:18:17 +00:00
Merge pull request #258 from strapi/fix/table-values
Fix table values display
This commit is contained in:
commit
a3b2476f39
@ -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