@claudebernard/therapeutic-alternative-element 2.1.0 → 2.1.1
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.
|
@@ -2232,17 +2232,11 @@ let ProductCard = class extends i$1 {
|
|
|
2232
2232
|
get product() {
|
|
2233
2233
|
return this.result.product ?? {};
|
|
2234
2234
|
}
|
|
2235
|
-
// Délègue à l'application hôte plutôt que de naviguer directement : ce composant n'affiche
|
|
2236
|
-
// aucune fiche produit lui-même, il se contente d'identifier le produit visé.
|
|
2237
2235
|
viewProductDetail() {
|
|
2238
2236
|
if (!this.product.code) {
|
|
2239
2237
|
return;
|
|
2240
2238
|
}
|
|
2241
|
-
|
|
2242
|
-
detail: { code: this.product.code, productId: this.product.productId },
|
|
2243
|
-
bubbles: true,
|
|
2244
|
-
composed: true
|
|
2245
|
-
}));
|
|
2239
|
+
window.open(`https://claudebernard.fr/fiche-medicament/${this.product.code}`, "_blank");
|
|
2246
2240
|
}
|
|
2247
2241
|
replaceProduct() {
|
|
2248
2242
|
if (this.disabled) {
|
package/package.json
CHANGED