mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-25 13:58:46 +00:00
feat(console): MDC components (#6482)
mdc components --------- Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
co-authored by
Elio Bischof
parent
cb7b50b513
commit
b099a26a16
@@ -1,5 +1,5 @@
|
||||
import { Injectable, OnDestroy, Renderer2, RendererFactory2 } from '@angular/core';
|
||||
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { Router } from '@angular/router';
|
||||
import { BehaviorSubject, Observable, of, pairwise, Subject, takeUntil } from 'rxjs';
|
||||
|
||||
@@ -118,15 +118,9 @@ export class KeyboardShortcutsService implements OnDestroy {
|
||||
}
|
||||
|
||||
public openOverviewDialog(): void {
|
||||
const dialogRef = this.dialog.open(KeyboardShortcutsComponent, {
|
||||
data: {},
|
||||
this.dialog.open(KeyboardShortcutsComponent, {
|
||||
width: '400px',
|
||||
});
|
||||
|
||||
dialogRef.afterClosed().subscribe((resp) => {
|
||||
if (resp) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private hasPermission(shortcut: KeyboardShortcut): Observable<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user