(js) Fix button to remove an attendee
parent
f60ffa923e
commit
d24ff75ecf
|
@ -17,6 +17,11 @@
|
|||
<div class="md-tile-left"><!-- empty --></div>
|
||||
</md-list-item>
|
||||
<md-list-item ng-repeat="currentAttendee in editor.component.attendees track by currentAttendee.email">
|
||||
<md-button class="md-icon-button"
|
||||
label:aria-label="Delete"
|
||||
ng-click="editor.removeAttendee(currentAttendee, eventForm)">
|
||||
<md-icon>remove_circle</md-icon>
|
||||
</md-button>
|
||||
<sg-avatar-image class="md-avatar"
|
||||
sg-email="currentAttendee.email"
|
||||
size="40">person</sg-avatar-image>
|
||||
|
@ -24,11 +29,6 @@
|
|||
<div class="sg-md-subhead"><div>{{currentAttendee.name}}</div></div>
|
||||
<div class="sg-md-body"><div>{{currentAttendee.email}}</div></div>
|
||||
</div>
|
||||
<md-button class="md-icon-button"
|
||||
label:aria-label="Delete"
|
||||
ng-click="editor.removeAttendee(currentAttendee)">
|
||||
<md-icon>close</md-icon>
|
||||
</md-button>
|
||||
<md-divider><!-- divider --></md-divider>
|
||||
</md-list-item>
|
||||
</md-list>
|
||||
|
|
Loading…
Reference in New Issue