blob: 8faf04d6c05337d47716b17ebd245a3668156ada (
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
28
29
|
import { Component } from '@angular/core';
import { DialogComponent, DialogService } from 'ng2-bootstrap-modal';
import { CustomTableOptions } from '../vid-table/vid-table.component';
export interface PreviousVersionsModel {
title: string;
tableOptions: CustomTableOptions;
}
@Component({
selector: 'previous-versions',
templateUrl: 'previous-versions.html',
styleUrls: ['previous-versions.css']
})
export class PreviousVersionsComponent extends DialogComponent<PreviousVersionsModel, boolean> implements PreviousVersionsModel {
title: string;
tableOptions: CustomTableOptions;
constructor(dialogService: DialogService) {
super(dialogService);
}
public deploy(row) {
this.result = row;
this.close();
}
}
|