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 +3
-2
lines changed 
GitHub.App/ViewModels/GitHubPane 
GitHub.VisualStudio/Views/GitHubPane Expand file tree Collapse file tree 2 files changed +3
-2
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  =  statusModel . Context ; 
4949                pullRequestCheckViewModel . Description  =  statusModel . Description ; 
5050                pullRequestCheckViewModel . Status  =  checkStatus ; 
51-                 pullRequestCheckViewModel . DetailsUrl  =  new  Uri ( statusModel . TargetUrl ) ; 
51+                 pullRequestCheckViewModel . DetailsUrl  =  statusModel . TargetUrl   !=   null   ?   new  Uri ( statusModel . TargetUrl )   :   null ; 
5252                pullRequestCheckViewModel . AvatarUrl  =  statusModel . AvatarUrl  ??  DefaultAvatar ; 
5353                pullRequestCheckViewModel . Avatar  =  statusModel . AvatarUrl  !=  null 
5454                    ?  new  BitmapImage ( new  Uri ( statusModel . AvatarUrl ) ) 
Original file line number Diff line number Diff line change 5252                                 Visibility =" {Binding HasAnnotations, Converter={ghfvs:BooleanToVisibilityConverter}}" 
5353                                 Margin =" 0 0 0 0"   Icon =" file_code"   Foreground =" Black"   />
5454        </Label >
55-         <Label  Grid.Column=" 4"   HorizontalAlignment =" Right"  >
55+         <Label  Grid.Column=" 4"   HorizontalAlignment =" Right" 
56+                Visibility =" {Binding DetailsUrl, Converter={ghfvs:NullToVisibilityConverter}}"  >
5657            <Hyperlink  ToolTip =" {Binding DetailsUrl}"    Command =" {Binding OpenDetailsUrl}"  >Details</Hyperlink >
5758        </Label >
5859    </Grid >
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments