Skip to content

Commit

Permalink
Fixes jira cached projects containing duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
axosoft-ramint committed Jan 29, 2025
1 parent dc971d6 commit 21a6359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plus/integrations/providers/jira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export class JiraIntegration extends IssueIntegration<IssueIntegrationId.Jira> {
const projects = this._projects.get(projectKey);
if (projects == null) {
this._projects.set(projectKey, [project]);
} else {
} else if (!projects.some(p => p.id === project.id)) {
projects.push(project);
}
}
Expand Down

0 comments on commit 21a6359

Please sign in to comment.