Comparing version 0.0.73 to 0.0.74
@@ -40,3 +40,3 @@ 'use strict'; | ||
rowKey: function rowKey(record) { | ||
return record.id; | ||
return record.code ? record.code : record.id; | ||
}, | ||
@@ -43,0 +43,0 @@ pagination: false, |
{ | ||
"name": "cqsmart", | ||
"version": "0.0.73", | ||
"version": "0.0.74", | ||
"description": "Smart Building Components", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -15,3 +15,3 @@ /** | ||
{...tableProps} | ||
rowKey={record => record.id} | ||
rowKey={record => {return record.code?record.code:record.id}} | ||
pagination={false} | ||
@@ -18,0 +18,0 @@ size={tableSize||'middle'} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42626