@Input() user: User
@Input() account: Account
+ @Input() prependActions: DropdownAction<{ user: User, account: Account }>[]
@Input() buttonSize: 'normal' | 'small' = 'normal'
- @Input() placement = 'left-top left-bottom auto'
+ @Input() placement = 'right-top right-bottom auto'
@Input() label: string
@Input() container: 'body' | undefined = undefined
private buildActions () {
this.userActions = []
+ if (this.prependActions) {
+ this.userActions = [
+ this.prependActions
+ ]
+ }
+
if (this.authService.isLoggedIn()) {
const authUser = this.authService.getUser()