X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fbuttons%2Faction-dropdown.component.ts;h=c9dbbfda243035c10b905903ae5ba594e6f0de9e;hb=b5f919ac8eb2a1c20e26582fdfd377d687710d8f;hp=f5345831b86dd5827d28a11a14411347945ecdc1;hpb=97567dd81f508dd6295ac4d73d849aa2ce0a6549;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/buttons/action-dropdown.component.ts b/client/src/app/shared/buttons/action-dropdown.component.ts index f5345831b..c9dbbfda2 100644 --- a/client/src/app/shared/buttons/action-dropdown.component.ts +++ b/client/src/app/shared/buttons/action-dropdown.component.ts @@ -41,10 +41,4 @@ export class ActionDropdownComponent { areActionsDisplayed (actions: DropdownAction[], entry: T) { return actions.some(a => a.isDisplayed === undefined || a.isDisplayed(entry)) } - - handleClick (event: Event, action: DropdownAction) { - event.preventDefault() - - // action.handler(entry) - } }