Skip to content
Snippets Groups Projects
unit-def-error-dialog.component.ts 425 B
Newer Older
  • Learn to ignore specific revisions
  • rhenck's avatar
    rhenck committed
    import { Component, Inject } from '@angular/core';
    import { MAT_DIALOG_DATA } from '@angular/material/dialog';
    
    @Component({
      selector: 'aspect-unit-def-error-dialog',
      template: `
        <h1 mat-dialog-title>Unit-Definition kann nicht geladen werden</h1>
        <p mat-dialog-content>{{data.text}}</p>
      `
    })
    export class UnitDefErrorDialogComponent {
      constructor(@Inject(MAT_DIALOG_DATA) public data: { text: string }) { }
    }