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

@Component({
  selector: 'app-ver-dias-earnasyougo',
  templateUrl: './ver-dias-earnasyougo.component.html',
  styleUrls: ['./ver-dias-earnasyougo.component.css']
})
export class VerDiasEarnasyougoComponent implements AfterViewInit {
  displayedColumns: string[] = [
    'DIASEARNASYOUGO'
  ];

  dias_earn: any[] = this.data.item.DIASEARNASYOUGO

  dataSource = new MatTableDataSource<any>(this.dias_earn);

  constructor(
    public dialogRef: MatDialogRef<any>,
    @Inject(MAT_DIALOG_DATA) public data: any
  ) {
    
  }

  ngAfterViewInit(): void {
  }

}
