forgot to add old results to url prefix

forgot to fix index for emulator compatibility on old results
This commit is contained in:
Alexandra
2025-05-31 15:10:49 -06:00
parent 9c8891c8db
commit 6ca11dfe26
2 changed files with 4 additions and 4 deletions

View File

@@ -91,7 +91,7 @@
</td>
<% if (process.env.EMULATOR_ENABLED === 'true') { %>
<td>
<% if (isEmulatorCompatible(results[x].category)) { %>
<% if (isEmulatorCompatible(results[x].file.category)) { %>
<a href="/play/<%= results[x].id %>" class="btn btn-sm btn-secondary"><%= __('emulator.play') %></a>
<% } else { %>
<button class="btn btn-sm btn-secondary" disabled><%= __('emulator.not_available') %> <i class="bi bi-question-circle" data-toggle="tooltip" data-placement="top" title="<%= __('emulator.not_available_tooltip') %>"></i></button>