Skip to content

Commit

Permalink
fix(lib): minor - prevent double event emits on menu item clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Feb 17, 2020
1 parent 9f4d406 commit 8d2a712
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
<div *ngIf="isActive" [@fabsStagger]="fabButtons.length"
[fxLayout]="layout2" fxLayoutAlign="center center" fxLayoutGap="16px">
<button (click)="selectFabMenu(fab); onFabMenuItemSelected.emit(fab.id)"
<button (click)="selectFabMenu(fab)"
*ngFor="let fab of fabButtons"
[color]="fab?.color"
[matTooltip]="fab?.tooltip"
Expand Down

0 comments on commit 8d2a712

Please sign in to comment.