diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-15 11:38:24 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-15 11:41:57 +0200 |
commit | fe88ca697d4c43b24cdc2462f5e4e83548776a51 (patch) | |
tree | 5117904a1bc328d3ba1dcd12785508af2825fb3b /client/src/app/shared | |
parent | 2df6f943b81e04f2f77c4f6e9d25b581647f64ae (diff) | |
download | PeerTube-fe88ca697d4c43b24cdc2462f5e4e83548776a51.tar.gz PeerTube-fe88ca697d4c43b24cdc2462f5e4e83548776a51.tar.zst PeerTube-fe88ca697d4c43b24cdc2462f5e4e83548776a51.zip |
Refactor comment add css
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-moderation/user-moderation-dropdown.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.html b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.html index 4d562387a..f1680e385 100644 --- a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.html +++ b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.html | |||
@@ -4,6 +4,6 @@ | |||
4 | <my-action-dropdown | 4 | <my-action-dropdown |
5 | [actions]="userActions" [entry]="{ user: user, account: account }" | 5 | [actions]="userActions" [entry]="{ user: user, account: account }" |
6 | [buttonSize]="buttonSize" [placement]="placement" [label]="label" | 6 | [buttonSize]="buttonSize" [placement]="placement" [label]="label" |
7 | [container]="container" | 7 | [container]="container" [buttonStyled]="buttonStyled" |
8 | ></my-action-dropdown> | 8 | ></my-action-dropdown> |
9 | </ng-container> | 9 | </ng-container> |
diff --git a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts index f59910d1c..f510a82f9 100644 --- a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts +++ b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts | |||
@@ -18,6 +18,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges { | |||
18 | @Input() prependActions: DropdownAction<{ user: User, account: Account }>[] | 18 | @Input() prependActions: DropdownAction<{ user: User, account: Account }>[] |
19 | 19 | ||
20 | @Input() buttonSize: 'normal' | 'small' = 'normal' | 20 | @Input() buttonSize: 'normal' | 'small' = 'normal' |
21 | @Input() buttonStyled = true | ||
21 | @Input() placement = 'right-top right-bottom auto' | 22 | @Input() placement = 'right-top right-bottom auto' |
22 | @Input() label: string | 23 | @Input() label: string |
23 | @Input() container: 'body' | undefined = undefined | 24 | @Input() container: 'body' | undefined = undefined |