-<ng-container *ngIf="user && userActions.length !== 0">
+<ng-container *ngIf="userActions.length !== 0">
<my-user-ban-modal #userBanModal (userBanned)="onUserBanned()"></my-user-ban-modal>
- <my-action-dropdown [actions]="userActions" [entry]="user" [buttonSize]="buttonSize" [placement]="placement"></my-action-dropdown>
+ <my-action-dropdown
+ [actions]="userActions" [entry]="{ user: user, account: account }"
+ [buttonSize]="buttonSize" [placement]="placement"
+ ></my-action-dropdown>
</ng-container>
\ No newline at end of file