This repository was archived by the owner on Jul 28, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ async function renderAdminServerDetail(serverId) {
366366 <button class="btn btn-danger" id="admin-btn-suspend" style="width:auto">${ isSuspended ? 'Re-suspend' : 'Suspend' } </button>
367367 ${ isSuspended ? ahtml `<button class="btn btn-primary" id="admin-btn-unsuspend" style="width:auto">Unsuspend</button>` : '' }
368368 <button class="btn btn-warning" id="admin-btn-stop" style="width:auto">Stop</button>
369- <button class="btn btn-ghost" id="admin-btn-renew-now" style="width:auto">Renew Now</button>
369+ ${ ! isSuspended ? ahtml ` <button class="btn btn-ghost" id="admin-btn-renew-now" style="width:auto">Renew Now</button>` : '' }
370370 </div>
371371 <div id="admin-action-msg" style="margin-top:12px;display:none"></div>
372372 </div>
You can’t perform that action at this time.
0 commit comments