Skip to content

Commit

Permalink
teams: smoother document deletion (fixes #4956) (#7847)
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 Dec 2, 2024
1 parent 4159fd4 commit d453e65
Show file tree
Hide file tree
Showing 3 changed files with 3 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.15.75",
"version": "0.15.76",
"myplanet": {
"latest": "v0.21.20",
"min": "v0.20.20"
Expand Down
1 change: 1 addition & 0 deletions src/app/shared/dialogs/dialogs-prompt.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
nation {nation}
course {course}
resource {resource}
document {document}
meetup {meetup}
user {member}
change {change}
Expand Down
2 changes: 1 addition & 1 deletion src/app/teams/teams-view.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3 *ngIf="mode==='services'" class="margin-lr-3 ellipsis-title">{{configuration
<mat-icon>more_vert</mat-icon>
</button>
<mat-menu #resourceMenu="matMenu">
<button mat-menu-item (click)="openDialogPrompt(resource, 'resource', { changeType: 'remove', type: 'resource' })">
<button mat-menu-item (click)="openDialogPrompt(resource, 'resource', { changeType: 'remove', type: 'document' })">
<mat-icon>clear</mat-icon>
<span i18n>Remove</span>
</button>
Expand Down

0 comments on commit d453e65

Please sign in to comment.