chore: Entfernen von unnötigen console.log-Ausgaben
This commit is contained in:
parent
e3f4b78083
commit
90f55b35ee
@ -27,8 +27,6 @@ export class DirUserTableComponent extends BaseTableComponent<DirUser, DirUserSe
|
|||||||
next: async (response: DirUser[]) => {
|
next: async (response: DirUser[]) => {
|
||||||
|
|
||||||
const usernames = (await firstValueFrom(this.uService.getAll())).map(u => u.username)
|
const usernames = (await firstValueFrom(this.uService.getAll())).map(u => u.username)
|
||||||
console.log(usernames)
|
|
||||||
console.log(response)
|
|
||||||
this.source = response.filter(user => user.samaccountname?.length && !usernames.includes(user.samaccountname[0]));
|
this.source = response.filter(user => user.samaccountname?.length && !usernames.includes(user.samaccountname[0]));
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
},
|
},
|
||||||
|
|||||||
@ -22,7 +22,6 @@ export class GroupTableComponent extends BaseTableComponent<Group, GroupService>
|
|||||||
}
|
}
|
||||||
|
|
||||||
fetchDataByUsername(username: string) {
|
fetchDataByUsername(username: string) {
|
||||||
console.log(username)
|
|
||||||
this.gouService.getByUsername(username)
|
this.gouService.getByUsername(username)
|
||||||
.then(gos_list => gos_list.map(gos => gos.group))
|
.then(gos_list => gos_list.map(gos => gos.group))
|
||||||
.then(groups => this.source = groups)
|
.then(groups => this.source = groups)
|
||||||
|
|||||||
@ -19,10 +19,10 @@ export class UserComponent implements AfterViewInit {
|
|||||||
cellEditing: GuiCellEdit = {
|
cellEditing: GuiCellEdit = {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
rowEdit: (value: any, item: any, index: number) => {
|
rowEdit: (value: any, item: any, index: number) => {
|
||||||
return Boolean(index % 2);
|
return true;
|
||||||
},
|
},
|
||||||
cellEdit: (value: any, item: any, index: number) => {
|
cellEdit: (value: any, item: any, index: number) => {
|
||||||
return Boolean(index % 5);
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user