aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/buttons
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-07 11:08:56 +0200
committerChocobozzz <me@florianbigard.com>2019-06-07 11:08:56 +0200
commitf238aec54f93bf6ef73ef17be23159ecd1d83f96 (patch)
tree963d67dc8d57c85b09d15135d6e46178378d1d22 /client/src/app/shared/buttons
parent3ddb1ec5553167b0b1cb852e906a691ea65522a4 (diff)
downloadPeerTube-f238aec54f93bf6ef73ef17be23159ecd1d83f96.tar.gz
PeerTube-f238aec54f93bf6ef73ef17be23159ecd1d83f96.tar.zst
PeerTube-f238aec54f93bf6ef73ef17be23159ecd1d83f96.zip
Fix video action dropdown
Diffstat (limited to 'client/src/app/shared/buttons')
-rw-r--r--client/src/app/shared/buttons/action-dropdown.component.ts6
1 files changed, 0 insertions, 6 deletions
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<T> {
41 areActionsDisplayed (actions: DropdownAction<T>[], entry: T) { 41 areActionsDisplayed (actions: DropdownAction<T>[], entry: T) {
42 return actions.some(a => a.isDisplayed === undefined || a.isDisplayed(entry)) 42 return actions.some(a => a.isDisplayed === undefined || a.isDisplayed(entry))
43 } 43 }
44
45 handleClick (event: Event, action: DropdownAction<T>) {
46 event.preventDefault()
47
48 // action.handler(entry)
49 }
50} 44}