sprintify-ui 0.8.34 → 0.8.35
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/dist/sprintify-ui.es.js
CHANGED
|
@@ -31747,7 +31747,7 @@ const LI = { class: "absolute z-[1] inset-0 flex h-full w-full items-center just
|
|
|
31747
31747
|
if (i.successHandler)
|
|
31748
31748
|
i.successHandler(x);
|
|
31749
31749
|
else {
|
|
31750
|
-
const T = $r(x, "
|
|
31750
|
+
const T = $r(x, "data.message", null);
|
|
31751
31751
|
if (!T)
|
|
31752
31752
|
return;
|
|
31753
31753
|
i.showNotificationOnSuccess && r.push({
|
package/package.json
CHANGED
|
@@ -251,7 +251,7 @@ function successHandler(response: AxiosResponse<any, any>) {
|
|
|
251
251
|
if (props.successHandler) {
|
|
252
252
|
props.successHandler(response);
|
|
253
253
|
} else {
|
|
254
|
-
const message = get(response, '
|
|
254
|
+
const message = get(response, 'data.message', null);
|
|
255
255
|
|
|
256
256
|
if (!message) {
|
|
257
257
|
return;
|