diff --git a/Source/TeamFoundation.WebApi/HyperlinkFactory.cs b/Source/TeamFoundation.WebApi/HyperlinkFactory.cs index a321418..d17598e 100644 --- a/Source/TeamFoundation.WebApi/HyperlinkFactory.cs +++ b/Source/TeamFoundation.WebApi/HyperlinkFactory.cs @@ -67,10 +67,10 @@ public Uri GetWorkItemUrl(int id, bool fullScreen = true) return builder.Uri; } - public Uri GetPullRequestUrl(int id, string repositoryName) + public Uri GetPullRequestUrl(int id, string projectName, string repositoryName) { UriBuilder builder = new UriBuilder(this.BaseUrl); - builder.Path = CombinePath(builder.Path, ProjectName, "_git", repositoryName, "pullrequest", id.ToString()); + builder.Path = CombinePath(builder.Path, projectName, "_git", repositoryName, "pullrequest", id.ToString()); return builder.Uri; } diff --git a/Source/TeamMate/Controls/GlobalCommandBar.xaml b/Source/TeamMate/Controls/GlobalCommandBar.xaml index eff9301..7937abf 100644 --- a/Source/TeamMate/Controls/GlobalCommandBar.xaml +++ b/Source/TeamMate/Controls/GlobalCommandBar.xaml @@ -38,7 +38,7 @@ Visibility="{Binding ElementName=self, Path=Type, Converter={x:Static fw:Converters.Visibility}, - ConverterParameter={x:Static vm:CommandBarType.CodeReviews}}"> + ConverterParameter={x:Static vm:CommandBarType.PullRequests}}">