mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +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) { |   getDisplayedValue(type, value) { | ||||||
|     switch (type.toLowerCase()) { |     switch (type.toLowerCase()) { | ||||||
|       case 'string': |       case 'string': | ||||||
|  |       case 'text': | ||||||
|         return value && !isEmpty(value.toString()) ? value.toString() : '-'; |         return value && !isEmpty(value.toString()) ? value.toString() : '-'; | ||||||
|  |       case 'float': | ||||||
|       case 'integer': |       case 'integer': | ||||||
|  |       case 'biginteger': | ||||||
|         return value && !isEmpty(value.toString()) ? value.toString() : '-'; |         return value && !isEmpty(value.toString()) ? value.toString() : '-'; | ||||||
|       case 'boolean': |       case 'boolean': | ||||||
|         return value && !isEmpty(value.toString()) ? value.toString() : '-'; |         return value && !isEmpty(value.toString()) ? value.toString() : '-'; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pierre BURGY
						Pierre BURGY