Skip to content

Commit 8d2a712

Browse files
committed
fix(lib): minor - prevent double event emits on menu item clicked
1 parent 9f4d406 commit 8d2a712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/angular-material-extensions/fab-menu/src/lib/mat-fab-menu.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</div>
1313
<div *ngIf="isActive" [@fabsStagger]="fabButtons.length"
1414
[fxLayout]="layout2" fxLayoutAlign="center center" fxLayoutGap="16px">
15-
<button (click)="selectFabMenu(fab); onFabMenuItemSelected.emit(fab.id)"
15+
<button (click)="selectFabMenu(fab)"
1616
*ngFor="let fab of fabButtons"
1717
[color]="fab?.color"
1818
[matTooltip]="fab?.tooltip"

0 commit comments

Comments
 (0)