Skip to content

Commit

Permalink
community: labeling for everbody (fixes #7343) (#7345)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Mutugiii and dogi authored Jan 4, 2024
1 parent 53a61e7 commit d771518
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.14.5",
"version": "0.14.6",
"myplanet": {
"latest": "v0.12.55",
"latest": "v0.12.59",
"min": "v0.12.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/app/news/news-list-item.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<button mat-icon-button type="button" (click)="editNews(item.doc)"><mat-icon>edit</mat-icon></button>
<button mat-icon-button type="button" (click)="openDeleteDialog(item.doc)"><mat-icon>delete</mat-icon></button>
</ng-container>
<button mat-button i18n *ngIf="item.doc.user.name === currentUser.name && editable" [matMenuTriggerFor]="labelMenu" [disabled]="labels.listed.length === 0">Add Label</button>
<button mat-button i18n *ngIf="editable" [matMenuTriggerFor]="labelMenu" [disabled]="labels.listed.length === 0">Add Label</button>
<mat-menu #labelMenu="matMenu">
<button mat-menu-item *ngFor="let label of labels.listed" (click)="labelClick(label, 'add')"><planet-label [label]="label"></planet-label></button>
</mat-menu>
Expand Down

0 comments on commit d771518

Please sign in to comment.