update superAdmin users business
This commit is contained in:
@@ -150,10 +150,7 @@ export class PageDataListComponent<I> {
|
||||
if (!path) return '-';
|
||||
const nestedData = path
|
||||
.split('.')
|
||||
.reduce(
|
||||
(obj, key) => (obj && obj[key] !== undefined ? obj[key] : null),
|
||||
item[String(field)],
|
||||
);
|
||||
.reduce((obj, key) => (obj && obj[key] !== undefined ? obj[key] : null), item);
|
||||
|
||||
return nestedData || '-';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user