We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46a439 commit f23ac76Copy full SHA for f23ac76
1 file changed
filebrowser.js
@@ -1399,8 +1399,7 @@ async function renderBranchMenuHTML(renderAll) {
1399
1400
// if clicked on show more button,
1401
// render all branches
1402
- if (renderAll
1403
- || (branchResp.length === 2)) {
+ if (renderAll) {
1404
1405
// run on all branches
1406
branchResp.forEach(branch => {
@@ -1418,7 +1417,7 @@ async function renderBranchMenuHTML(renderAll) {
1418
1417
1419
1420
// render show more button
1421
- if (!renderAll && branchResp.length > 2) {
+ if (!renderAll && branchResp.length > 1) {
1422
1423
out += '<div class="icon see-more">' + moreIcon + '<a>see more</a></div>';
1424
0 commit comments