@ardimedia/angular-portal-azure 0.2.235 → 0.2.237

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/apn.d.ts CHANGED
@@ -280,6 +280,7 @@ declare namespace angularportalazure {
280
280
  class Tiles {
281
281
  showTiles: boolean;
282
282
  tiles: Array<any>;
283
+ isTilesLoaded: boolean;
283
284
  hideTileIfOnlyOne: boolean;
284
285
  private tileSizes;
285
286
  private nextLeft;
package/apn.js CHANGED
@@ -891,6 +891,7 @@ var angularportalazure;
891
891
  //#region Properties
892
892
  this.showTiles = true;
893
893
  this.tiles = new Array();
894
+ this.isTilesLoaded = false;
894
895
  this.hideTileIfOnlyOne = true; // not yet evaluated in HTML, but this is the standard behavior
895
896
  this.tileSizes = angularportalazure.TileSize.getTileSizes();
896
897
  this.nextLeft = 0;
@@ -901,6 +902,7 @@ var angularportalazure;
901
902
  //#endregion
902
903
  //#region Methods
903
904
  Tiles.prototype.addTile = function (tile) {
905
+ this.isTilesLoaded = true;
904
906
  var tileSize = this.tileSizes[tile.tileSize];
905
907
  tile.size = angularportalazure.TileSizes[tile.tileSize]; // Get CSS Name
906
908
  tile.top = this.nextTop + 'px';
@@ -31,7 +31,7 @@
31
31
  </header>
32
32
  <section class="fxs-part-content css-scope-HubsExtension"></section>
33
33
  </div>
34
- <div ng-if="$ctrl.vm.portalService.panorama.startboard.tiles.tiles !== undefined && $ctrl.vm.portalService.panorama.startboard.tiles.tiles.length === 0" class="xfxs-part fxs-part-clickable" style="background-color:#293644; padding:25px; max-width: 800px;margin-bottom:15px;">
34
+ <div ng-if="$ctrl.vm.portalService.panorama.startboard.tiles.isTilesLoaded && $ctrl.vm.portalService.panorama.startboard.tiles.tiles.length === 0" class="xfxs-part fxs-part-clickable" style="background-color:#293644; padding:25px; max-width: 800px;margin-bottom:15px;">
35
35
  <header class="xfxs-part-title" style="color:white">
36
36
  <h3 class="xmsportalfx-tooltip-overflow">Keine Applikationen zugeordnet</h3>
37
37
  <p class="xmsportalfx-tooltip-overflow" style="margin:0;padding:0">
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.235",
5
+ "version": "0.2.237",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {