@ardimedia/angular-portal-azure 0.2.242 → 0.2.244

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.
Files changed (2) hide show
  1. package/apn.js +13 -4
  2. package/package.json +1 -1
package/apn.js CHANGED
@@ -536,6 +536,10 @@ var angularportalazure;
536
536
  return true;
537
537
  }
538
538
  });
539
+ if (!isremoved && this.portalService.areaNotification.path === path) {
540
+ this.portalService.areaNotification.hide();
541
+ isremoved = true;
542
+ }
539
543
  if (!isremoved) {
540
544
  throw new Error('[angularportalazure.AreaBlades.clearPath] path: \'' + path + '\' could not be removed, since path not found in bladeUrls.');
541
545
  }
@@ -1467,10 +1471,15 @@ var angularportalazure;
1467
1471
  var exception = new angularportalazure.Exception();
1468
1472
  //#region Convert data to Messages
1469
1473
  exception.Messages = [];
1470
- var i = 1;
1471
- while (response.data.Data[i + ''] !== undefined) {
1472
- exception.Messages.push(response.data.Data[i + '']);
1473
- i++;
1474
+ if (response.data.Data === undefined) {
1475
+ exception.Messages.push('No further information found in [response.data.Data].');
1476
+ }
1477
+ else {
1478
+ var i = 1;
1479
+ while (response.data.Data[i + ''] !== undefined) {
1480
+ exception.Messages.push(response.data.Data[i + '']);
1481
+ i++;
1482
+ }
1474
1483
  }
1475
1484
  //#endregion
1476
1485
  return exception;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ardimedia/angular-portal-azure",
3
3
  "description": "Angular Portal Azure - GUI Framework.",
4
4
  "author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
5
- "version": "0.2.242",
5
+ "version": "0.2.244",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {