Commit db7edb0 1 parent 5e175f9 commit db7edb0 Copy full SHA for db7edb0
File tree 1 file changed +2
-2
lines changed
app/supportCallResponseReport
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ class SupportCallResponseReportCtrl {
47
47
}
48
48
) ) ;
49
49
50
- const currentSupportStaffIds = _self . $scope . view . state . supportCallResponses . map ( response => response . supportStaffId ) ;
51
- const currentSupportStaff = _self . $scope . view . state . supportStaff . filter ( supportStaff => currentSupportStaffIds . includes ( supportStaff . id ) ) ;
50
+ const currentSupportStaffIds = new Set ( _self . $scope . view . state . supportCallResponses . map ( response => response . supportStaffId ) ) ;
51
+ const currentSupportStaff = _self . $scope . view . state . supportStaff . filter ( supportStaff => currentSupportStaffIds . has ( supportStaff . id ) ) ;
52
52
if ( _self . $scope . view . state . ui . showSubmitted === true ) {
53
53
_self . $scope . filteredSupportStaff = currentSupportStaff . filter ( staff => {
54
54
return staff . preferences . length > 0 ;
You can’t perform that action at this time.
0 commit comments