Francois Gouget : testbot/web: Fix hiding the branch column on the main page.

Alexandre Julliard julliard at winehq.org
Tue Jun 14 15:50:12 CDT 2022


Module: tools
Branch: master
Commit: adce5f9343c9dbec16f4ce06f038b6a83b4e01be
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=adce5f9343c9dbec16f4ce06f038b6a83b4e01be

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Jun 14 15:59:39 2022 +0200

testbot/web: Fix hiding the branch column on the main page.

It is hidden when only one branch exists.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/web/index.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/web/index.pl b/testbot/web/index.pl
index 2073b1e6..a3b26ea9 100644
--- a/testbot/web/index.pl
+++ b/testbot/web/index.pl
@@ -41,7 +41,7 @@ sub DisplayProperty($$)
   my $PropertyName = $PropertyDescriptor->GetName();
   return $PropertyName =~ /^(?:Branch|User|PatchId|Patch)$/ ? "" :
          $PropertyName eq "Submitted" ? ("ro", "timetipdate") :
-         ($PropertyName eq "Branch" and !CreateBranches()->MultipleBranchesPresent) ? "" :
+         ($PropertyName eq "BranchName" and !CreateBranches()->MultipleBranchesPresent) ? "" :
          $self->SUPER::DisplayProperty($PropertyDescriptor);
 }
 




More information about the wine-cvs mailing list