Skip to content

Commit c45037f

Browse files
committed
revert dropdown label changes
always use plural for branches and authors dropdown
1 parent 40d1877 commit c45037f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/gitGraphView.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -721,17 +721,15 @@ export class GitGraphView extends Disposable {
721721
</body>`;
722722
} else if (numRepos > 0) {
723723
const stickyClassAttr = initialState.config.stickyHeader ? ' class="sticky"' : '';
724-
const branchDropdownLabel = initialState.config.selectMultipleBranches ? 'Branches' : 'Branch';
725-
const authorDropdownLabel = initialState.config.selectMultipleAuthors ? 'Authors' : 'Author';
726724
let hideRemotes = '', hideSimplify = '';
727725
if (!config.toolbarButtonVisibility.remotes) { hideRemotes = 'style="display: none"'; }
728726
if (!config.toolbarButtonVisibility.simplify) { hideSimplify = 'style="display: none"'; }
729727
body = `<body>
730728
<div id="view" tabindex="-1">
731729
<div id="controls"${stickyClassAttr}>
732730
<span id="repoControl"><span class="unselectable">Repo: </span><div id="repoDropdown" class="dropdown"></div></span>
733-
<span id="branchControl"><span class="unselectable">${branchDropdownLabel}: </span><div id="branchDropdown" class="dropdown"></div></span>
734-
<span id="authorControl"><span class="unselectable">${authorDropdownLabel}: </span><div id="authorDropdown" class="dropdown"></div></span>
731+
<span id="branchControl"><span class="unselectable">Branches: </span><div id="branchDropdown" class="dropdown"></div></span>
732+
<span id="authorControl"><span class="unselectable">Authors: </span><div id="authorDropdown" class="dropdown"></div></span>
735733
<label ${hideRemotes} id="showRemoteBranchesControl" title="Show Remote Branches"><input type="checkbox" id="showRemoteBranchesCheckbox" tabindex="-1"><span class="customCheckbox"></span>Remotes</label>
736734
<label ${hideSimplify} id="simplifyByDecorationControl" title="Simplify By Decoration"><input type="checkbox" id="simplifyByDecorationCheckbox" tabindex="-1"><span class="customCheckbox"></span>Simplify</label>
737735
<div id="currentBtn" title="Current"></div>

0 commit comments

Comments
 (0)