sprintify-ui 0.8.33 → 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
|
@@ -24095,7 +24095,7 @@ const rR = { class: "grow" }, iR = {
|
|
|
24095
24095
|
key: 3,
|
|
24096
24096
|
as: "button",
|
|
24097
24097
|
type: "button",
|
|
24098
|
-
class: "block",
|
|
24098
|
+
class: "block w-full",
|
|
24099
24099
|
onClick: (f) => c.disabled ? !1 : c.action()
|
|
24100
24100
|
}, {
|
|
24101
24101
|
default: he(({ active: f }) => [
|
|
@@ -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;
|