Skip to content

Commit

Permalink
use correct link
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Oct 27, 2024
1 parent e5b8cd8 commit 3cda83e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</div>
</div>
} @else {
<a hlmCard variant="profile" class="hover:bg-accent/50" [href]="this.pullRequest()?.htmlUrl" target="_blank" rel="noopener noreferrer" [class]="class()">
<a hlmCard variant="profile" class="hover:bg-accent/50" [href]="htmlUrl() ?? this.pullRequest()?.htmlUrl" target="_blank" rel="noopener noreferrer" [class]="class()">
<div hlmCardContent variant="profile">
<div class="text-sm text-muted-foreground first-letter:uppercase">
{{ relativeActivityTime() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export class ReviewActivityCardComponent {
class = input('');
state = input<PullRequestReviewInfo.StateEnum>();
submittedAt = input<string>();
htmlUrl = input<string>();
pullRequest = input<PullRequestBaseInfo>();
repositoryName = input<string>();

Expand Down
1 change: 1 addition & 0 deletions webapp/src/app/user/user-profile.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ <h2 class="text-xl font-semibold">Latest Review Activity</h2>
[isLoading]="showSkeleton"
[state]="activity?.state"
[submittedAt]="activity?.submittedAt"
[htmlUrl]="activity?.htmlUrl"
[pullRequest]="activity?.pullRequest"
[repositoryName]="activity?.pullRequest?.repository?.name"
/>
Expand Down

0 comments on commit 3cda83e

Please sign in to comment.