@fto-consult/expo-ui 7.3.4 → 7.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -70,10 +70,12 @@ export const renderRowCell = (arg)=>{
|
|
70
70
|
///le lien vers le table data se fait via la colonne ayant la propriété foreignKeyTable de type chaine de caractère non nulle
|
71
71
|
else if(!renderText && (isNonNullString(columnDef.foreignKeyTable) || columnDef.primaryKey === true || arrayValueExists(['id','piece'],_type))){
|
72
72
|
const id = rowData[columnField]?.toString();
|
73
|
-
if(isNonNullString(id)){
|
73
|
+
if(isNonNullString(id) || typeof id ==='number'){
|
74
|
+
const foreignKeyTable = defaultStr(columnDef.foreignKeyTable,columnDef.table,columnDef.tableName);
|
75
|
+
const foreignKeyColumn = defaultStr(columnDef.foreignKeyColumn,columnDef.field);
|
74
76
|
const rProps = {
|
75
|
-
foreignKeyTable
|
76
|
-
foreignKeyColumn
|
77
|
+
foreignKeyTable,
|
78
|
+
foreignKeyColumn,
|
77
79
|
...columnDef,
|
78
80
|
multiple : undefined,
|
79
81
|
readOnly : undefined,
|