Skip to content

Commit

Permalink
Merge pull request #413 from venkykandagaddala/request-new-content
Browse files Browse the repository at this point in the history
Fix - duplicate providers in request for new content
  • Loading branch information
NandiniAV authored Feb 5, 2024
2 parents 76948eb + e7e943f commit cb7bce4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class AddContentDialogComponent implements OnInit {

selectionChange(event: any, option: any) {
if (event.isUserInput) {
const index = this.selectedProvidersList.findIndex((object: any) => object.id === option.orgId)
const index = this.selectedProvidersList.findIndex((object: any) => object.orgId === option.orgId)
if (index === -1) {
this.selectedProvidersList.push(option)
} else {
Expand Down

0 comments on commit cb7bce4

Please sign in to comment.