Skip to content

Commit

Permalink
Update community.component.html
Browse files Browse the repository at this point in the history
Added default placeholder text for Our Voices section of Communiy
  • Loading branch information
jessewashburn authored Oct 18, 2024
1 parent be9a229 commit 59f2e37
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/community/community.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ <h3 style="text-align: right; margin-right: 0.5rem;">
<button mat-stroked-button (click)="openAddMessageDialog()" *ngIf="showNewsButton" i18n>New Voice</button>
</ng-container>
</h3>
<planet-news-list [items]="news" [shareTarget]="shareTarget" (viewChange)="toggleShowButton($event)" [viewableId]="teamId"></planet-news-list>
<ng-container *ngIf="news.length > 0">
<planet-news-list [items]="news" [shareTarget]="shareTarget" (viewChange)="toggleShowButton($event)" [viewableId]="teamId"></planet-news-list>
</ng-container>
<ng-container *ngIf="news.length === 0">
<p i18n>No Voices available.</p>
</ng-container>
</mat-tab>
<mat-tab i18n-label label="Community Leaders">
<div class="card-grid">
Expand Down

0 comments on commit 59f2e37

Please sign in to comment.