Skip to content

Commit

Permalink
updated downloads categories order
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Nov 22, 2024
1 parent 5491c97 commit 21a98e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions routes/downloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ router.get('/', async function(req, res, next) {
res.render('downloads', {
title: 'Vortex Downloads',
latestDownloads: latestDownloads,
categories: categories,
devices: devices,
req: req
});
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion views/downloads.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="https://stoneorbits.github.io/VortexEngine/upgrade_guides.html" target="_blank" class="wiki-button">Visit Vortex Wiki</a>
</div>
</section>
<% ['gloves', 'orbit', 'handle', 'spark', 'chromadeck', 'duo'].forEach(device => { %>
<% devices.forEach(device => { %>
<% if (latestDownloads[device] && latestDownloads[device]['firmware']) { %>
<section class="device-section" id="vortex-<%= device %>">
<div class="device-content">
Expand Down

0 comments on commit 21a98e7

Please sign in to comment.