@vendure/admin-ui 1.8.2 → 1.8.3
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/bundles/vendure-admin-ui-catalog.umd.js +4 -0
- package/bundles/vendure-admin-ui-catalog.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-core.umd.js +9 -2
- package/bundles/vendure-admin-ui-core.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-customer.umd.js +4 -1
- package/bundles/vendure-admin-ui-customer.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-settings.umd.js.map +1 -1
- package/core/common/version.d.ts +1 -1
- package/core/vendure-admin-ui-core.metadata.json +1 -1
- package/esm2015/catalog/components/facet-detail/facet-detail.component.js +5 -1
- package/esm2015/core/common/generated-types.js +1 -1
- package/esm2015/core/common/introspection-result.js +1 -1
- package/esm2015/core/common/version.js +2 -2
- package/esm2015/core/data/data.module.js +8 -1
- package/esm2015/core/shared/components/custom-field-control/custom-field-control.component.js +2 -2
- package/esm2015/core/shared/pipes/custom-field-description.pipe.js +1 -1
- package/esm2015/core/shared/shared.module.js +1 -1
- package/esm2015/customer/components/customer-detail/customer-detail.component.js +2 -1
- package/esm2015/customer/providers/routing/customer-resolver.js +5 -3
- package/esm2015/settings/components/zone-detail-dialog/zone-detail-dialog.component.js +1 -1
- package/fesm2015/vendure-admin-ui-catalog.js +4 -0
- package/fesm2015/vendure-admin-ui-catalog.js.map +1 -1
- package/fesm2015/vendure-admin-ui-core.js +9 -2
- package/fesm2015/vendure-admin-ui-core.js.map +1 -1
- package/fesm2015/vendure-admin-ui-customer.js +4 -1
- package/fesm2015/vendure-admin-ui-customer.js.map +1 -1
- package/fesm2015/vendure-admin-ui-settings.js.map +1 -1
- package/package.json +2 -2
|
@@ -988,6 +988,7 @@
|
|
|
988
988
|
.getCustomer(this.id, {
|
|
989
989
|
take: this.ordersPerPage,
|
|
990
990
|
skip: (this.currentOrdersPage - 1) * this.ordersPerPage,
|
|
991
|
+
sort: { orderPlacedAt: i2.SortOrder.DESC },
|
|
991
992
|
})
|
|
992
993
|
.single$.pipe(operators.map(function (data) { return data.customer; }), operators.filter(sharedUtils.notNullOrUndefined))
|
|
993
994
|
.subscribe(function (result) { return _this.orderListUpdates$.next(result); });
|
|
@@ -1572,7 +1573,9 @@
|
|
|
1572
1573
|
phoneNumber: null,
|
|
1573
1574
|
addresses: null,
|
|
1574
1575
|
user: null,
|
|
1575
|
-
}, function (id) { return dataService.customer
|
|
1576
|
+
}, function (id) { return dataService.customer
|
|
1577
|
+
.getCustomer(id, { sort: { orderPlacedAt: i2.SortOrder.DESC } })
|
|
1578
|
+
.mapStream(function (data) { return data.customer; }); }) || this;
|
|
1576
1579
|
}
|
|
1577
1580
|
return CustomerResolver;
|
|
1578
1581
|
}(i2.BaseEntityResolver));
|