@fluxhub/fluxhub-lib 19.0.200 → 19.0.201

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.
@@ -35482,7 +35482,7 @@ class FHHomeLauncherComponent {
35482
35482
  }
35483
35483
  if (r.invisible)
35484
35484
  continue;
35485
- current.apps.push({ id: r.id, title: r.name, link: r.url });
35485
+ current.apps.push({ id: r.id, title: r.name, link: r.url, appIcon: r.app_icon || "" });
35486
35486
  }
35487
35487
  const cats = grouped.filter((c) => c.apps.length > 0);
35488
35488
  for (const c of cats)
@@ -35584,8 +35584,10 @@ class FHHomeLauncherComponent {
35584
35584
  >
35585
35585
  <span class="app-box-top">
35586
35586
  <span class="app-box-icon">
35587
- <img *ngIf="cat.logoUrl; else boxIco" [src]="cat.logoUrl" [alt]="cat.title" />
35588
- <ng-template #boxIco><i class="material-symbols-outlined">{{ boxIcon }}</i></ng-template>
35587
+ <!-- priorità: icona specifica dell'app (applications.icon) > logo categoria > boxIcon default -->
35588
+ <i *ngIf="app.appIcon" class="material-symbols-outlined">{{ app.appIcon }}</i>
35589
+ <img *ngIf="!app.appIcon && cat.logoUrl" [src]="cat.logoUrl" [alt]="cat.title" />
35590
+ <i *ngIf="!app.appIcon && !cat.logoUrl" class="material-symbols-outlined">{{ boxIcon }}</i>
35589
35591
  </span>
35590
35592
  <span class="app-box-arrow"><i class="material-symbols-outlined">arrow_forward</i></span>
35591
35593
  </span>
@@ -35650,8 +35652,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
35650
35652
  >
35651
35653
  <span class="app-box-top">
35652
35654
  <span class="app-box-icon">
35653
- <img *ngIf="cat.logoUrl; else boxIco" [src]="cat.logoUrl" [alt]="cat.title" />
35654
- <ng-template #boxIco><i class="material-symbols-outlined">{{ boxIcon }}</i></ng-template>
35655
+ <!-- priorità: icona specifica dell'app (applications.icon) > logo categoria > boxIcon default -->
35656
+ <i *ngIf="app.appIcon" class="material-symbols-outlined">{{ app.appIcon }}</i>
35657
+ <img *ngIf="!app.appIcon && cat.logoUrl" [src]="cat.logoUrl" [alt]="cat.title" />
35658
+ <i *ngIf="!app.appIcon && !cat.logoUrl" class="material-symbols-outlined">{{ boxIcon }}</i>
35655
35659
  </span>
35656
35660
  <span class="app-box-arrow"><i class="material-symbols-outlined">arrow_forward</i></span>
35657
35661
  </span>