summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql-validate-error-dialog/sql-validate-error-dialog.component.ts
blob: 7e27f93265305337ad83394a497290351b211479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { Component, OnInit, Input } from '@angular/core';

@Component({
  selector: 'app-sql-validate-error-dialog-component',
  templateUrl: './sql-validate-error-dialog.component.html',
  styleUrls: ['./sql-validate-error-dialog.component.css']
})
export class SQLValidateErrorDialogComponent implements OnInit {
  
  @Input() tableObj : any;
  
  errorObj : any = {};
  constructor() { }

  ngOnInit() {
    this.errorObj = new Object();
    this.errorObj = JSON.parse(this.tableObj);
  }

  ngOnChange()
  {
    this.errorObj = new Object();
    this.errorObj = JSON.parse(this.tableObj);
  }

}