mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-26 01:02:16 +00:00
fix: console for neweventstore (#1457)
* some issues * passwordless, mfa * mfa, project fixes, login policy * user table, auth service, interceptor * keys, machine edit, grants, passwordless * remove asdf
This commit is contained in:
@@ -29,7 +29,7 @@ export class ClientKeysComponent implements OnInit {
|
||||
public keyResult!: ListAppKeysResponse.AsObject;
|
||||
private loadingSubject: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);
|
||||
public loading$: Observable<boolean> = this.loadingSubject.asObservable();
|
||||
@Input() public displayedColumns: string[] = ['select', 'id', 'type', 'creationDate', 'expirationDate'];
|
||||
@Input() public displayedColumns: string[] = ['select', 'id', 'type', 'creationDate', 'expirationDate', 'actions'];
|
||||
|
||||
@Output() public changedSelection: EventEmitter<Array<Key.AsObject>> = new EventEmitter();
|
||||
|
||||
@@ -62,11 +62,8 @@ export class ClientKeysComponent implements OnInit {
|
||||
this.getData(event.pageSize, event.pageIndex * event.pageSize);
|
||||
}
|
||||
|
||||
public deleteSelectedKeys(): void {
|
||||
const mappedDeletions = this.selection.selected.map(value => {
|
||||
return this.mgmtService.removeAppKey(this.projectId, this.appId, value.id);
|
||||
});
|
||||
Promise.all(mappedDeletions).then(() => {
|
||||
public deleteKey(key: Key.AsObject): void {
|
||||
this.mgmtService.removeAppKey(this.projectId, this.appId, key.id).then(() => {
|
||||
this.selection.clear();
|
||||
this.toast.showInfo('USER.TOAST.SELECTEDKEYSDELETED', true);
|
||||
this.getData(10, 0);
|
||||
|
||||
Reference in New Issue
Block a user