import { MAT_DIALOG_DATA } from '@angular/material/dialog';
import { Component, OnInit, Inject } from '@angular/core';

@Component({
  selector: 'app-open-log',
  templateUrl: './open-log.component.html',
  styleUrls: ['./open-log.component.css']
})
export class OpenLogComponent implements OnInit {
  logStr: string;

  constructor(
    @Inject(MAT_DIALOG_DATA) public data: any,
  ) { 
    this.logStr = "";
  }

  ngOnInit(): void {
    this.logStr = this.data.log;
  }
}
