Skip to content

Commit 7d817d0

Browse files
authored
Merge pull request #91 from GSA/feature/67_cannot_evaluate
Adding Cannot Evaluate to dropdown filter
2 parents 602f299 + 6993c4f commit 7d817d0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/app/solicitation/solicitation-report/solicitation-report.component.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,16 @@ export class SolicitationReportComponent extends BaseComponent implements OnInit
9999
{label : 'All', value : ''},
100100
{label : 'Non-Compliant', value : 'Non-compliant (Action Required)'},
101101
{label : 'Compliant', value : 'Compliant'},
102+
{label : 'Cannot Evaluate', value : 'Cannot Evaluate (Review Required)'},
102103
{label : 'Not Applicable', value : 'Not Applicable'},
103104
];
104105

105106
epaDropdown: Array<Object> = [
106107
{label : 'All', value : ''},
107108
{label : 'Non-Compliant', value : 'red'},
108109
{label : 'Compliant', value : 'green'},
109-
{label : 'Not Applicable', value : 'Not Applicable'},
110+
{label : 'Cannot Evaluate', value : 'yellow'},
111+
{label : 'Not Applicable', value : 'grey'},
110112
];
111113

112114

@@ -436,6 +438,10 @@ export class SolicitationReportComponent extends BaseComponent implements OnInit
436438
if (this.tableState.filter.reviewRec.value === 'Non-Compliant') {
437439
this.tableState.filter.reviewRec.value = 'Non-compliant (Action Required)';
438440
}
441+
// adjust the Cannot Evaluate reviewRec filter to be "Cannot Evaluate (Review Required)"
442+
if (this.tableState.filter.reviewRec.value === 'Cannot Evaluate') {
443+
this.tableState.filter.reviewRec.value = 'Cannot Evaluate (Review Required)';
444+
}
439445
if (this.tableState.filter.reviewRec.value === 'All') {
440446
delete this.tableState.filter.reviewRec;
441447
}

0 commit comments

Comments
 (0)