Skip to content

Commit

Permalink
Fix broken duplicate link (CATcher-org#1233)
Browse files Browse the repository at this point in the history
Fix the broken link of a duplicate issue

Currently, the user cannot open the link to a duplicate issue
when opening an issue, as described in CATcher-org#1228.

The links now work as expected.
  • Loading branch information
nknguyenhc authored Jan 25, 2024
1 parent 013fbfa commit b20b3ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
matTooltipPosition="above"
(removed)="removeDuplicateStatus(duplicatedIssue)"
>
<a class="no-underline link-grey-dark" [routerLink]="['./' + duplicatedIssue.id]"> #{{ duplicatedIssue.id }} </a>
<a class="no-underline link-grey-dark" [routerLink]="['../' + duplicatedIssue.id]"> #{{ duplicatedIssue.id }} </a>
<mat-icon *ngIf="permissions.isTeamResponseEditable() || permissions.isTutorResponseEditable()" matChipRemove>cancel</mat-icon>
</mat-chip>
</mat-chip-list>
Expand Down

0 comments on commit b20b3ef

Please sign in to comment.