integration layer; merge work on indicators from forks with existing ingestion pipeline
This commit is contained in:
+4
-20
@@ -1,27 +1,11 @@
|
||||
import { Component, inject } from '@angular/core';
|
||||
import { MatDialog, MatDialogModule } from '@angular/material/dialog';
|
||||
import { Component } from '@angular/core';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { InformationUploadDialog } from './information-upload-dialog';
|
||||
import { RouterLink } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
imports: [MatDialogModule, MatIconModule],
|
||||
imports: [MatIconModule, RouterLink],
|
||||
selector: 'app-home',
|
||||
styleUrl: './home.scss',
|
||||
templateUrl: './home.html',
|
||||
})
|
||||
export class Home {
|
||||
private readonly dialog = inject(MatDialog);
|
||||
|
||||
openInformationDialog(): void {
|
||||
if (this.dialog.openDialogs.length > 0) return;
|
||||
|
||||
this.dialog.open(InformationUploadDialog, {
|
||||
width: '800px',
|
||||
maxWidth: 'calc(100vw - 32px)',
|
||||
autoFocus: 'first-tabbable',
|
||||
restoreFocus: true,
|
||||
disableClose: true,
|
||||
panelClass: 'information-upload-dialog-panel',
|
||||
});
|
||||
}
|
||||
}
|
||||
export class Home {}
|
||||
|
||||
Reference in New Issue
Block a user