From b38ccdbf05826a94ec06d63fe395d44e65bc93b2 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Sun, 28 Apr 2024 16:01:44 +0800 Subject: [PATCH] - Fix bug #48623, always show the merge button. --- module/branch/js/manage.ui.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/module/branch/js/manage.ui.js b/module/branch/js/manage.ui.js index 6cd9f5a913..bb94a8eebc 100644 --- a/module/branch/js/manage.ui.js +++ b/module/branch/js/manage.ui.js @@ -112,7 +112,4 @@ window.checkedChange = function() const dtable = zui.DTable.query($(this).target); const checkedList = dtable.$.getChecks(); if(!checkedList.length) return; - - $('#mergeBranch').hide(); - if(checkedList.length == 2) $('#mergeBranch').show(); }