@primestyleai/tryon 5.10.110 → 5.10.111
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.
|
@@ -21397,11 +21397,8 @@ function SizeResultView({
|
|
|
21397
21397
|
chartUnit: resultUnit,
|
|
21398
21398
|
lengthEntry: null,
|
|
21399
21399
|
onBack: () => {
|
|
21400
|
-
if (resultImageUrl)
|
|
21401
|
-
|
|
21402
|
-
} else {
|
|
21403
|
-
setView("body-profile");
|
|
21404
|
-
}
|
|
21400
|
+
if (resultImageUrl) onResetTryOn?.();
|
|
21401
|
+
setView("body-profile");
|
|
21405
21402
|
},
|
|
21406
21403
|
backLabel: t2("Back"),
|
|
21407
21404
|
internationalSizes: sizingResult?.internationalSizes,
|
|
@@ -21467,7 +21464,14 @@ function SizeResultView({
|
|
|
21467
21464
|
unitLbl,
|
|
21468
21465
|
chartUnit: resultUnit,
|
|
21469
21466
|
lengthEntry: null,
|
|
21470
|
-
onBack: () =>
|
|
21467
|
+
onBack: () => {
|
|
21468
|
+
if (resultImageUrl) {
|
|
21469
|
+
onResetTryOn?.();
|
|
21470
|
+
setView("body-profile");
|
|
21471
|
+
} else {
|
|
21472
|
+
setActiveSection(null);
|
|
21473
|
+
}
|
|
21474
|
+
},
|
|
21471
21475
|
backLabel: t2("Back"),
|
|
21472
21476
|
internationalSizes: sizingResult?.internationalSizes,
|
|
21473
21477
|
onTryOn: resultImageUrl || vtoExcluded ? void 0 : handleSingleTryOn,
|
|
@@ -21499,7 +21503,7 @@ function SizeResultView({
|
|
|
21499
21503
|
className: "ps-bp-back-btn",
|
|
21500
21504
|
onClick: () => {
|
|
21501
21505
|
if (resultImageUrl) onResetTryOn?.();
|
|
21502
|
-
|
|
21506
|
+
setView("body-profile");
|
|
21503
21507
|
},
|
|
21504
21508
|
type: "button",
|
|
21505
21509
|
children: [
|
|
@@ -21553,7 +21557,7 @@ function SizeResultView({
|
|
|
21553
21557
|
className: "ps-bp-back-btn",
|
|
21554
21558
|
onClick: () => {
|
|
21555
21559
|
if (resultImageUrl) onResetTryOn?.();
|
|
21556
|
-
|
|
21560
|
+
setView("body-profile");
|
|
21557
21561
|
},
|
|
21558
21562
|
type: "button",
|
|
21559
21563
|
children: [
|