@fluxhub/fluxhub-lib 1.0.228 → 1.0.229

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.
@@ -16404,7 +16404,6 @@ var image_preview = /** @class */ (function () {
16404
16404
  * @return {?}
16405
16405
  */
16406
16406
  function () {
16407
- console.log('u ', this.u);
16408
16407
  console.log('photo_c ', this.photo_c);
16409
16408
  this.photo_c.src = [];
16410
16409
  this.photo_c.src.push(this.u.image_original[0]);
@@ -16434,7 +16433,7 @@ var image_preview = /** @class */ (function () {
16434
16433
  image_preview.decorators = [
16435
16434
  { type: Component, args: [{
16436
16435
  selector: 'image_preview',
16437
- template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" [hidden]=\"already_open\"> \n \n <button type=\"button\" class=\"default\" (click)=\"toggle_up()\" >\n <span class=\"fa fa-arrows-alt\"></span>\n </button>\n\n </div>\n\n <div style=\"max-width:460px\"><ngx-image-viewer [config]=\"config_photo\" #photo_c (customEvent)=\"handleEvent($event)\" [src]=\"u.image_thumbnail\" index=\"0\"></ngx-image-viewer>\n \n </div>\n",
16436
+ template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" [hidden]=\"already_open\"> \n \n <button type=\"button\" class=\"default\" (click)=\"toggle_up()\" *ngIf=\"u?.image_thumbnail?.length>0\">\n <span class=\"fa fa-arrows-alt\"></span>\n </button>\n\n </div>\n\n <div style=\"max-width:460px\"><ngx-image-viewer [config]=\"config_photo\" *ngIf=\"u?.image_thumbnail?.length>0\" #photo_c (customEvent)=\"handleEvent($event)\" [src]=\"u.image_thumbnail\" index=\"0\"></ngx-image-viewer>\n \n </div>\n",
16438
16437
  styles: ["\n\n "]
16439
16438
  }] }
16440
16439
  ];