mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-08 07:05:12 +00:00
feat(console): split granted from owned project modules, general ui ux fixes (#286)
* add iam label, user avatar * avatar component * split granted and owned modules * move components to resp module * refactor project contributors, g project nav * rem console logs, add avatar for org members * fix changes loading, auth user page * refactor home, i18n * fix changes side overflow * lint
This commit is contained in:
@@ -32,13 +32,11 @@ export class UserGrantCreateComponent implements OnDestroy {
|
||||
private route: ActivatedRoute,
|
||||
) {
|
||||
this.subscription = this.route.params.subscribe(({ id }: Params) => {
|
||||
console.log(id);
|
||||
this.userId = id;
|
||||
});
|
||||
|
||||
this.authService.GetActiveOrg().then(org => {
|
||||
this.org = org;
|
||||
console.log(org);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -52,7 +50,6 @@ export class UserGrantCreateComponent implements OnDestroy {
|
||||
this.userId,
|
||||
this.rolesList,
|
||||
).then((data: UserGrant) => {
|
||||
console.log(data);
|
||||
this.close();
|
||||
}).catch(error => {
|
||||
this.toast.showError(error.message);
|
||||
@@ -61,7 +58,6 @@ export class UserGrantCreateComponent implements OnDestroy {
|
||||
|
||||
public selectProject(project: Project.AsObject): void {
|
||||
this.projectId = project.id;
|
||||
console.log(project);
|
||||
}
|
||||
|
||||
public selectRoles(roles: ProjectRole.AsObject[]): void {
|
||||
|
||||
Reference in New Issue
Block a user