@revenexx/cover 0.2.18 → 0.2.19
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/app/components/auth/AuthLoginTeaser.vue +1 -1
- package/app/components/auth/AuthRegisterPanel.vue +123 -119
- package/app/components/cart/position/CartPosition.vue +26 -17
- package/app/components/cart/recommend/CartReorderStrip.vue +27 -12
- package/app/components/cart/view/CartView.vue +1 -8
- package/app/composables/useProduct.ts +11 -0
- package/app/composables/useProductListing.ts +5 -1
- package/i18n/locales/de/auth.json +1 -1
- package/package.json +1 -1
- package/server/data/media/60794300.jpg +0 -0
- package/server/data/media/aussen-rueckwaertsdrehen.jpg +0 -0
- package/server/data/media/bohrtiefe-8.jpg +0 -0
- package/server/data/media/dummy-brw-image.png +0 -0
- package/server/data/media/feindrehen.jpg +0 -0
- package/server/data/media/header-aktuelles.jpg +0 -0
- package/server/data/media/sternsiebeinsatz-gr-3-000028480.stp +19039 -0
- package/server/data/media/zaehnezahl-z4.jpg +0 -0
- package/server/data/media/zaehnezahl-z6.jpg +0 -0
- package/server/services/ApiProductService.ts +4 -1
|
Binary file
|
|
Binary file
|
|
@@ -48,6 +48,9 @@ export class ApiProductService implements IProductService {
|
|
|
48
48
|
|
|
49
49
|
async getProductDetail(id: string, locale: Locale = "de"): Promise<ProductDetail | null> {
|
|
50
50
|
const doc = await getLiveProductDoc(id, locale);
|
|
51
|
-
|
|
51
|
+
// The locale selects the document AND the labels: mapLiveDocToDetail
|
|
52
|
+
// resolves every attribute name and select-option value through it.
|
|
53
|
+
// Dropping it here left the spec table German on an English page.
|
|
54
|
+
return doc ? mapLiveDocToDetail(doc, locale) : null;
|
|
52
55
|
}
|
|
53
56
|
}
|