make bun run check pass

This commit is contained in:
2026-03-13 17:29:59 +01:00
parent ed11001e8d
commit 893309b308
5 changed files with 30 additions and 15 deletions

View File

@@ -366,10 +366,13 @@
</p>
{#if m.mappool}
<p class="text-xs text-text-secondary">
<a
href="/mappools/{m.mappool.id}"
onclick={(e) => e.stopPropagation()}
class="hover:text-accent hover:underline">{m.mappool.name}</a
<button
onclick={(e) => {
e.preventDefault();
e.stopPropagation();
window.location.href = `/mappools/${m.mappool!.id}`;
}}
class="hover:text-accent hover:underline">{m.mappool.name}</button
>{#if avgSR(m.mappool)}
({avgSR(m.mappool)}★){/if}
</p>