Mercurial > hg > ugly-duckling
changeset 432:5220174f2712
Don't propagate button click event, will fire two events due to link on list-item.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Wed, 07 Jun 2017 08:58:38 +0100 |
parents | 686cf74aa0a2 |
children | 48904aa87ba3 |
files | src/app/feature-extraction-menu/feature-extraction-menu.component.html |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/app/feature-extraction-menu/feature-extraction-menu.component.html Wed Jun 07 08:46:30 2017 +0100 +++ b/src/app/feature-extraction-menu/feature-extraction-menu.component.html Wed Jun 07 08:58:38 2017 +0100 @@ -10,7 +10,9 @@ <md-icon md-list-icon>extension</md-icon> <h4 md-line>{{output.name}}</h4> <p md-line>{{output.combinedKey}}</p> - <button md-icon-button (click)="extract(output)" [disabled]="disabled"> + <button md-icon-button + (click)="extract(output); $event.stopPropagation()" + [disabled]="disabled"> <md-icon>add</md-icon> </button> </md-list-item>