diff --git a/src/app/shared/layout/header.component.ts b/src/app/shared/layout/header.component.ts index 125e9cc4..5755e381 100644 --- a/src/app/shared/layout/header.component.ts +++ b/src/app/shared/layout/header.component.ts @@ -212,6 +212,9 @@ export class HeaderComponent implements OnInit { * Change repository viewed on Issue Dashboard, if a valid repository is provided. */ changeRepositoryIfValid(repo: Repo, newRepoString: string) { + if (newRepoString === this.currentRepo) { + return; + } this.phaseService .changeRepositoryIfValid(repo) .then(() => {