@fluxhub/fluxhub-lib 1.0.227 → 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.
@@ -13728,7 +13728,6 @@
13728
13728
  * @return {?}
13729
13729
  */
13730
13730
  function () {
13731
- console.log('u ', this.u);
13732
13731
  console.log('photo_c ', this.photo_c);
13733
13732
  this.photo_c.src = [];
13734
13733
  this.photo_c.src.push(this.u.image_original[0]);
@@ -13758,7 +13757,7 @@
13758
13757
  image_preview.decorators = [
13759
13758
  { type: i0.Component, args: [{
13760
13759
  selector: 'image_preview',
13761
- 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",
13760
+ 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",
13762
13761
  styles: ["\n\n "]
13763
13762
  }] }
13764
13763
  ];