Skip to content

Commit

Permalink
PD-1403: backport version switcher change (#3228)
Browse files Browse the repository at this point in the history
(cherry picked from commit fc8da55)

Co-authored-by: Tim Moore <[email protected]>
  • Loading branch information
bugclerk and Mrt134 authored Nov 14, 2024
1 parent 58d88d2 commit 465a3d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions layouts/partials/docs-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@

if (product === 'TrueNAS CORE') {
versionDropdown.innerHTML = `
<div class="truenas-dropdown-item" onclick="selectVersion('core-nightly')" id="core-nightly">Nightly</div>
<div class="truenas-dropdown-item" onclick="selectVersion('13.3')" id="13.3">13.3</div>
<div class="truenas-dropdown-item" onclick="selectVersion('13.0')" id="13">13.0</div>
<div class="truenas-dropdown-item" onclick="selectVersion('Archive')" id="Archive">Archive</div>
Expand All @@ -232,9 +231,8 @@
`;
} else if (product === 'TrueCommand') {
versionDropdown.innerHTML = `
<div class="truenas-dropdown-item" onclick="selectVersion('tc-nightly')" id="tc-nightly">Nightly</div>
<div class="truenas-dropdown-item" onclick="selectVersion('3.0')" id="30">3.0</div>
<div class="truenas-dropdown-item" onclick="selectVersion('Archive')" id="Archive">Archive</div>
<div class="truenas-dropdown-item" onclick="selectVersion('Archive')" id="Archive">Archive</div>
`;
}

Expand Down

0 comments on commit 465a3d7

Please sign in to comment.