X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fbuttons%2Faction-dropdown.component.ts;h=67ac6e1aa8b571115cd9fe9da3c9f104494d1a13;hb=a2c3564a31268e4e60f05952aa3731e114ac1e30;hp=36d7d6229e45687ecbaa872b0762d896886aa5ee;hpb=5196817c5d7cf86b35f3fa2cfe108ba283944482;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts b/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts index 36d7d6229..67ac6e1aa 100644 --- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts +++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts @@ -9,6 +9,8 @@ export type DropdownAction = { handler?: (a: T) => any linkBuilder?: (a: T) => (string | number)[] isDisplayed?: (a: T) => boolean + + class?: string[] isHeader?: boolean }