From 773d1430cb7dff5c2a6b59c9f126db942f16a3d4 Mon Sep 17 00:00:00 2001 From: Etienne LOUPIAS <eloupias@grandlyon.com> Date: Thu, 3 Oct 2024 14:27:53 +0200 Subject: [PATCH] fix(structure): can have personal offers skills but no skills and no freeWorkShop info for the structure --- .../structure-edition-summary.component.html | 1 + .../structure-details/structure-details.component.html | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app/profile/structure-edition-summary/structure-edition-summary.component.html b/src/app/profile/structure-edition-summary/structure-edition-summary.component.html index f080d28e1..1f28f683d 100644 --- a/src/app/profile/structure-edition-summary/structure-edition-summary.component.html +++ b/src/app/profile/structure-edition-summary/structure-edition-summary.component.html @@ -358,6 +358,7 @@ <ng-container *ngIf="containsDigitalLearning()"> <app-tag-item + *ngIf="structure.categoriesDisplay.freeWorkShop?.length > 0" [label]="structure.categoriesDisplay.freeWorkShop[0].name" [size]="'small'" [color]="'blue'" diff --git a/src/app/structure-list/components/structure-details/structure-details.component.html b/src/app/structure-list/components/structure-details/structure-details.component.html index 0154b964c..0675f40eb 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.html +++ b/src/app/structure-list/components/structure-details/structure-details.component.html @@ -194,6 +194,7 @@ <section *ngIf="hasBaseSkills() || hasAdvancedSkills()" class="digitalSkills"> <h2>Accompagnements aux usages numériques</h2> <app-tag-item + *ngIf="structure.categoriesDisplay.freeWorkShop?.length > 0" [label]="structure.categoriesDisplay.freeWorkShop[0].name" [size]="'small'" [color]="'blue'" -- GitLab