Commit 0714e9f9 authored by 5Amogh's avatar 5Amogh
Browse files

Added interface for configurable filters

Showing with 7 additions and 2 deletions
+7 -2
......@@ -13,7 +13,12 @@ import * as moment from 'moment';
import html2canvas from 'html2canvas';
import * as jspdf from 'jspdf';
const PRE_DEFINED_PARAMETERS = ['$slug', 'hawk-eye'];
export interface configFilter{
label: string,
controlType: string,
reference: string,
defaultValue: number
}
@Component({
selector: 'app-datasets',
templateUrl: './program-datasets.component.html',
......@@ -95,7 +100,7 @@ export class DatasetsComponent implements OnInit, OnDestroy {
maxStartDate: any; //Start date - has to be one day less than end date
displayFilters:any = {};
loadash = _;
pdFilters:object[] = [];
pdFilters:configFilter[] = [];
configuredFilters:any = {}
constructor(
activatedRoute: ActivatedRoute,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment