@esfaenza/extensions 11.2.25 → 11.2.26
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/bundles/esfaenza-extensions.umd.js +3 -4
- package/bundles/esfaenza-extensions.umd.js.map +1 -1
- package/bundles/esfaenza-extensions.umd.min.js +1 -1
- package/bundles/esfaenza-extensions.umd.min.js.map +1 -1
- package/esm2015/lib/services/extensions.messages.service.js +4 -5
- package/fesm2015/esfaenza-extensions.js +3 -4
- package/fesm2015/esfaenza-extensions.js.map +1 -1
- package/package.json +1 -1
|
@@ -304,7 +304,9 @@
|
|
|
304
304
|
if (postSuccess === void 0) { postSuccess = null; }
|
|
305
305
|
if (postFailure === void 0) { postFailure = null; }
|
|
306
306
|
if (response.success) {
|
|
307
|
-
if (
|
|
307
|
+
if (response.haswarning)
|
|
308
|
+
this.simpleWarning(response.warning);
|
|
309
|
+
else if (successMsg)
|
|
308
310
|
this.simpleSuccess(successMsg);
|
|
309
311
|
if (postSuccess)
|
|
310
312
|
postSuccess();
|
|
@@ -314,9 +316,6 @@
|
|
|
314
316
|
if (postFailure)
|
|
315
317
|
postFailure();
|
|
316
318
|
}
|
|
317
|
-
else if (response.haswarning) {
|
|
318
|
-
this.simpleWarning(response.warning);
|
|
319
|
-
}
|
|
320
319
|
};
|
|
321
320
|
/**
|
|
322
321
|
* Metodo helper per gestire in maniera standardizzata una risposta di tipo **string**, considerando che:
|