aq-fe-framework 0.1.532 → 0.1.533
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.
@@ -229,8 +229,6 @@ function MyButtonCreateUpdate({
|
|
229
229
|
options: {
|
230
230
|
onSuccess: (...args) => {
|
231
231
|
if (!ignoreDefaultOnSuccess) {
|
232
|
-
queryClient.invalidateQueries();
|
233
|
-
utils_notification_show({ crudType: isUpdate ? "update" : "create" });
|
234
232
|
if (closeModalWhenSubmit) disclosure[1].close();
|
235
233
|
if (resetFormWhenSubmit) form.reset();
|
236
234
|
}
|
@@ -293,8 +291,9 @@ function MyButtonCreateUpdate({
|
|
293
291
|
headers: {},
|
294
292
|
config: {}
|
295
293
|
});
|
294
|
+
} else {
|
295
|
+
axiosPromise = result;
|
296
296
|
}
|
297
|
-
axiosPromise = result;
|
298
297
|
mutation.mutate(axiosPromise);
|
299
298
|
}),
|
300
299
|
children: [
|
package/dist/core/index.mjs
CHANGED