This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
GitHub.App/ViewModels/GitHubPane
GitHub.VisualStudio/Views/GitHubPane Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public static IEnumerable<IPullRequestCheckViewModel> Build(IViewViewModelFactor
4848 pullRequestCheckViewModel . Title = model . Context ;
4949 pullRequestCheckViewModel . Description = model . Description ;
5050 pullRequestCheckViewModel . Status = checkStatus ;
51- pullRequestCheckViewModel . DetailsUrl = new Uri ( model . TargetUrl ) ;
51+ pullRequestCheckViewModel . DetailsUrl = model . TargetUrl != null ? new Uri ( model . TargetUrl ) : null ;
5252 pullRequestCheckViewModel . AvatarUrl = model . AvatarUrl ?? DefaultAvatar ;
5353 pullRequestCheckViewModel . Avatar = model . AvatarUrl != null
5454 ? new BitmapImage ( new Uri ( model . AvatarUrl ) )
Original file line number Diff line number Diff line change 4545 <!--
4646 <Label Grid.Column="3" HorizontalAlignment="Right" Content="{Binding Description}" ToolTip="{Binding Description}" />
4747 -->
48- <Label Grid.Column=" 3" HorizontalAlignment =" Right" >
49- <Hyperlink ToolTip =" {Binding DetailsUrl}" Command =" {Binding OpenDetailsUrl}" >Details</Hyperlink >
48+ <Label Grid.Column=" 3" HorizontalAlignment =" Right"
49+ Visibility =" {Binding DetailsUrl, Converter={ghfvs:NullToVisibilityConverter}}" >
50+ <Hyperlink ToolTip =" {Binding DetailsUrl}" Command =" {Binding OpenDetailsUrl}" >Details</Hyperlink >
5051 </Label >
5152 </Grid >
5253</local : GenericPullRequestCheckView >
You can’t perform that action at this time.
0 commit comments