summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/maas/build/application-detail/application-detail.component.ts
blob: 653ce6a990d9bb53769e06b128e740262acd1453 (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
27
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Application } from '../application.type';

@Component({
  selector: 'app-application-detail',
  templateUrl: './application-detail.component.html',
  styleUrls: ['./application-detail.component.less']
})
export class ApplicationDetailComponent implements OnInit {
  @Input() showModal: boolean;
  @Input()  applicationDetail: Application;
  @Output() modalOpreation = new EventEmitter();
  constructor() { }

  ngOnInit() {}

  handleCancel(): void {
    this.showModal = false;
    this.modalOpreation.emit();
  }

   handleOk(): void {
    this.showModal = false;
    this.modalOpreation.emit();
  }

}