fix projector on users

This commit is contained in:
Maximilian Krambach 2019-02-26 13:20:40 +01:00
parent 5cedf6eb58
commit 570bc10766

View File

@ -378,7 +378,7 @@ export class UserListComponent extends ListViewBaseComponent<ViewUser, User> imp
*/ */
public getColumnDefinition(): string[] { public getColumnDefinition(): string[] {
let columns = this.vp.isMobile ? this.displayedColumnsMobile : this.displayedColumnsDesktop; let columns = this.vp.isMobile ? this.displayedColumnsMobile : this.displayedColumnsDesktop;
if (this.operator.hasPerms('core.can_manage_projector')) { if (this.operator.hasPerms('core.can_manage_projector') && !this.isMultiSelect) {
columns = ['projector'].concat(columns); columns = ['projector'].concat(columns);
} }
if (this.operator.hasPerms('users.can_manage')) { if (this.operator.hasPerms('users.can_manage')) {