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

Merge branch '181-annuaire-masquer-les-structures-en-attente' into 'dev'

Resolve "[Annuaire] Masquer les structures en attente"

See merge request !409
parents 82040f53 b97f41ea
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 @@ ...@@ -90,8 +90,9 @@
class="structuresContainer" class="structuresContainer"
*ngIf="userProfile.structuresLink.length > 0 || userProfile.pendingStructuresLink.length > 0" *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 <app-profile-structure
*ngFor="let structure of pendingStructures; let i = index"
[structureWithOwners]="structure" [structureWithOwners]="structure"
[userProfile]="this.userProfile" [userProfile]="this.userProfile"
[isPublic]="this.isPublic" [isPublic]="this.isPublic"
...@@ -99,18 +100,17 @@ ...@@ -99,18 +100,17 @@
[joinRequestDate]="userProfile.pendingStructuresLink[i].createdAt" [joinRequestDate]="userProfile.pendingStructuresLink[i].createdAt"
(cancelJoin)="cancelJoin($event)" (cancelJoin)="cancelJoin($event)"
></app-profile-structure> ></app-profile-structure>
</div> </ng-container>
<div *ngFor="let structure of structures; let i = index"> <app-profile-structure
<app-profile-structure *ngFor="let structure of structures; let i = index"
[structureWithOwners]="structure" [structureWithOwners]="structure"
[userProfile]="this.userProfile" [userProfile]="this.userProfile"
[isPublic]="this.isPublic" [isPublic]="this.isPublic"
></app-profile-structure> ></app-profile-structure>
</div>
</div> </div>
<app-button <app-button
class="addStructure"
*ngIf="!isPublic" *ngIf="!isPublic"
class="addStructure"
[style]="buttonTypeEnum.SecondaryUltraWide" [style]="buttonTypeEnum.SecondaryUltraWide"
[iconBtn]="'add'" [iconBtn]="'add'"
[text]="'Ajouter une structure'" [text]="'Ajouter une structure'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment