feat(console): MDC components (#6482)

mdc components

---------

Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
Max Peintner
2023-10-26 08:29:06 +00:00
committed by GitHub
co-authored by Elio Bischof
parent cb7b50b513
commit b099a26a16
412 changed files with 2711 additions and 2698 deletions
@@ -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> {