fix projector on users
This commit is contained in:
parent
5cedf6eb58
commit
570bc10766
@ -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')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user