Permalink
Browse files

fix(datatable): avoid throwing an error when fetching nested prop of …

…undefined
  • Loading branch information...
bas080
bas080 committed Jan 3, 2017
1 parent eeb1f1f commit 26dfd8dba2c0d1c110d464ab9f95164859622db6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/datatable.js
@@ -332,6 +332,6 @@ export class DataTable {
}
displayValue(row, propertyName) {
return new Homefront(row, Homefront.MODE_NESTED).fetch(propertyName);
return new Homefront(row, Homefront.MODE_FLAT).fetch(propertyName, '');
}
}

0 comments on commit 26dfd8d

Please sign in to comment.