Skip to content

Commit

Permalink
community: smoother voices (fixes #7615) (#7617)
Browse files Browse the repository at this point in the history
Co-authored-by: mutugiii <[email protected]>
Co-authored-by: dogi <[email protected]>
  • Loading branch information
3 people authored Oct 22, 2024
1 parent 3aa4e51 commit ebe7353
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.14.95",
"version": "0.14.96",
"myplanet": {
"latest": "v0.20.51",
"min": "v0.19.51"
Expand Down
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; else noVoices">
<planet-news-list [items]="news" [shareTarget]="shareTarget" (viewChange)="toggleShowButton($event)" [viewableId]="teamId"></planet-news-list>
</ng-container>
<ng-template #noVoices>
<p i18n>No Voices available.</p>
</ng-template>
</mat-tab>
<mat-tab i18n-label label="Community Leaders">
<div class="card-grid">
Expand Down

0 comments on commit ebe7353

Please sign in to comment.