update superAdmin users business
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
|
||||
<ng-template #emptymessage>
|
||||
<tr class="">
|
||||
<td [colSpan]="columns.length.toString()" class="w-full">
|
||||
<td [colSpan]="(columns.length + 1).toString()" class="w-full">
|
||||
<uikit-empty-state
|
||||
[title]="emptyPlaceholderTitle"
|
||||
[description]="emptyPlaceholderDescription"
|
||||
@@ -105,11 +105,6 @@
|
||||
</td>
|
||||
</tr>
|
||||
</ng-template>
|
||||
<!-- <ng-template #emptymessage>
|
||||
<tr>
|
||||
<td colspan="6">There are no order for this product yet.</td>
|
||||
</tr>
|
||||
</ng-template> -->
|
||||
|
||||
<ng-template #loadingbody let-columns>
|
||||
@for (i of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; track i) {
|
||||
|
||||
@@ -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