mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-28 06:30:52 +00:00

# Which Problems Are Solved - Fixed filtering in overview - Only get users from current organization - Use V2 api to get auth user # How the Problems Are Solved Added the organization filter to the List queries Get current User ID from ID Token to get auth user by id # Additional Changes Refactored the UserList # Additional Context - Closes #9382
22 lines
636 B
TypeScript
22 lines
636 B
TypeScript
import { Component } from '@angular/core';
|
|
import { TranslateService } from '@ngx-translate/core';
|
|
import { Breadcrumb, BreadcrumbService, BreadcrumbType } from 'src/app/services/breadcrumb.service';
|
|
|
|
@Component({
|
|
selector: 'cnsl-user-list',
|
|
templateUrl: './user-list.component.html',
|
|
styleUrls: ['./user-list.component.scss'],
|
|
})
|
|
export class UserListComponent {
|
|
constructor(
|
|
protected readonly translate: TranslateService,
|
|
breadcrumbService: BreadcrumbService,
|
|
) {
|
|
const bread: Breadcrumb = {
|
|
type: BreadcrumbType.ORG,
|
|
routerLink: ['/org'],
|
|
};
|
|
breadcrumbService.setBreadcrumb([bread]);
|
|
}
|
|
}
|