thm-p3-configurator 0.0.291 → 0.0.292
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.
|
@@ -83,10 +83,8 @@ const InternalAppointmentSuccessModal = _ref => {
|
|
|
83
83
|
|
|
84
84
|
// Redirect to detail page if entityId is available, otherwise fallback to overview
|
|
85
85
|
if (entityId) {
|
|
86
|
-
const branchId = orderSession.selectedBranch;
|
|
87
86
|
const baseUrl = isAppointmentRequest ? "/afspraak-aanvragen/".concat(entityId) : "/afspraken/".concat(entityId);
|
|
88
|
-
|
|
89
|
-
history.push(url);
|
|
87
|
+
history.push(baseUrl);
|
|
90
88
|
} else {
|
|
91
89
|
history.push(isAppointmentRequest ? '/afspraak-aanvragen' : '/afspraken');
|
|
92
90
|
}
|
|
@@ -82,9 +82,7 @@ const InternalQuotationSuccessModal = _ref => {
|
|
|
82
82
|
|
|
83
83
|
// Redirect to detail page if entityId is available, otherwise fallback to overview
|
|
84
84
|
if (entityId) {
|
|
85
|
-
|
|
86
|
-
const url = branchId ? "/offertes/".concat(entityId, "?branchId=").concat(branchId) : "/offertes/".concat(entityId);
|
|
87
|
-
history.push(url);
|
|
85
|
+
history.push("/offertes/".concat(entityId));
|
|
88
86
|
} else {
|
|
89
87
|
history.push('/offertes');
|
|
90
88
|
}
|