Skip to content

Commit aa9720a

Browse files
committed
fix: prevent full page reload on Back to Servers link
1 parent 954008e commit aa9720a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ async function renderServerDetail(serverId) {
16481648

16491649
el.innerHTML = html`
16501650
<div class="page-header">
1651-
<a href="/servers" onclick="navigateTo('servers')" class="btn btn-ghost btn-sm" style="margin-bottom:16px;display:inline-flex;width:auto">
1651+
<a href="/servers" onclick="event.preventDefault();navigateTo('servers')" class="btn btn-ghost btn-sm" style="margin-bottom:16px;display:inline-flex;width:auto">
16521652
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M19 12H5M12 19l-7-7 7-7"/></svg>
16531653
Back to Servers
16541654
</a>

0 commit comments

Comments
 (0)