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:
Max Peintner
2020-06-26 14:15:05 +02:00
committed by GitHub
parent ee73dc07dd
commit 0a488eb1fb
141 changed files with 1133 additions and 742 deletions
@@ -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 {