File tree Expand file tree Collapse file tree
src/app/component/teams-groups-editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,9 +44,20 @@ <h2>{{ title }}</h2>
4444 </ ng-template >
4545
4646 < span *ngIf ="editMode ">
47- < button mat-icon-button (click) ="startEditItem(name) " title ="Rename {{ name }} ">
47+ < button
48+ *ngIf ="editingOrgName !== name "
49+ mat-icon-button
50+ (click) ="startEditItem(name) "
51+ title ="Rename {{ name }} ">
4852 < mat-icon class ="material-icons-outlined "> edit</ mat-icon >
4953 </ button >
54+ < button
55+ *ngIf ="editingOrgName === name "
56+ mat-icon-button
57+ (click) ="saveEditedItem(name) "
58+ title ="Accept edit for {{ name }} ">
59+ < mat-icon class ="material-icons-outlined "> check</ mat-icon >
60+ </ button >
5061 < button mat-icon-button (click) ="deleteListItem(name) " title ="Delete {{ name }} ">
5162 < mat-icon class ="material-icons-outlined "> delete</ mat-icon >
5263 </ button >
You can’t perform that action at this time.
0 commit comments