diff --git a/src/app/reports/common-models/select-option.model.ts b/src/app/reports/common-models/select-option.model.ts index 3d659bb5b..f13e73ab7 100644 --- a/src/app/reports/common-models/select-option.model.ts +++ b/src/app/reports/common-models/select-option.model.ts @@ -3,8 +3,8 @@ export class SelectOption { id: number; name: string; - constructor({ id, name }: { id: number; name: string }) { - this.id = id; - this.name = name; + constructor(options: any[]) { + this.id = options[0]; + this.name = options[1]; } }