Skip to content
Snippets Groups Projects
Commit b97f41ea authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

Resolve "[Annuaire] Masquer les structures en attente"

parent 82040f53
No related branches found
No related tags found
3 merge requests!418V2.1.0,!409Resolve "[Annuaire] Masquer les structures en attente",!400V2.0
......@@ -90,8 +90,9 @@
class="structuresContainer"
*ngIf="userProfile.structuresLink.length > 0 || userProfile.pendingStructuresLink.length > 0"
>
<div *ngFor="let structure of pendingStructures; let i = index">
<ng-container *ngIf="!this.isPublic">
<app-profile-structure
*ngFor="let structure of pendingStructures; let i = index"
[structureWithOwners]="structure"
[userProfile]="this.userProfile"
[isPublic]="this.isPublic"
......@@ -99,18 +100,17 @@
[joinRequestDate]="userProfile.pendingStructuresLink[i].createdAt"
(cancelJoin)="cancelJoin($event)"
></app-profile-structure>
</div>
<div *ngFor="let structure of structures; let i = index">
<app-profile-structure
[structureWithOwners]="structure"
[userProfile]="this.userProfile"
[isPublic]="this.isPublic"
></app-profile-structure>
</div>
</ng-container>
<app-profile-structure
*ngFor="let structure of structures; let i = index"
[structureWithOwners]="structure"
[userProfile]="this.userProfile"
[isPublic]="this.isPublic"
></app-profile-structure>
</div>
<app-button
class="addStructure"
*ngIf="!isPublic"
class="addStructure"
[style]="buttonTypeEnum.SecondaryUltraWide"
[iconBtn]="'add'"
[text]="'Ajouter une structure'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment