From f1762ee823434cccebb7cb29f6cf106e42277456 Mon Sep 17 00:00:00 2001 From: Marlene Simondant <msimondant@grandlyon.com> Date: Wed, 6 Mar 2024 10:46:18 +0100 Subject: [PATCH] fix(structureDetails) : don't display 'Autres' --- .../structure-details/structure-details.component.html | 7 +++---- .../structure-details/structure-details.component.scss | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) 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 cce7be48d..bd6a2ef6e 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 @@ -291,10 +291,9 @@ [clickable]="false" /> <div class="wrapper"> - <app-logo-card - *ngFor="let accompagnement of structure.categoriesDisplay.onlineProcedures.sort()" - [module]="accompagnement" - /> + <div *ngFor="let accompagnement of structure.categoriesDisplay.onlineProcedures.sort()"> + <app-logo-card *ngIf="accompagnement.name !== 'Autres'" [module]="accompagnement" /> + </div> </div> <div *ngIf="structure.otherDescription" class="otherDescription"> <b>Autres démarches :</b> diff --git a/src/app/structure-list/components/structure-details/structure-details.component.scss b/src/app/structure-list/components/structure-details/structure-details.component.scss index 64c24b81c..58c6ba496 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.scss +++ b/src/app/structure-list/components/structure-details/structure-details.component.scss @@ -145,7 +145,7 @@ section.onlineDemarch { } } .otherDescription { - margin-top: 12px; + margin-top: 4px; display: flex; flex-direction: column; gap: 12px; -- GitLab