open-learning-exchange/planet

View on GitHub
src/app/shared/dialogs/dialogs-view.component.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Component, Inject } from '@angular/core';
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
@Component({
  templateUrl: './dialogs-view.component.html',
  styles: [ `
      .close {
      float: right;
    }
    .content {
      max-height: 55vh;
      overflow-y: auto;
    }
  ` ]
})
export class DialogsViewComponent {
  message = '';

  constructor(@Inject(MAT_DIALOG_DATA) public data: any) { }

  closeAlert() {
    this.message = '';
  }

}