refactor: make provisioning own instance lifecycle operations
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
interface ServerRow {
|
||||
deployment_id: string; server: string; files_changed: number;
|
||||
restart_state: string; players: number | null;
|
||||
checked_at: string | null; restarted_at: string | null;
|
||||
checked_at: string | null; restarted_at: string | null; provisioning_id: string | null;
|
||||
attempts: number; error: string | null;
|
||||
}
|
||||
interface Detail {
|
||||
@@ -148,6 +148,7 @@
|
||||
</div>
|
||||
<div class="srv-r">
|
||||
<StatusBadge state={s.restart_state} />
|
||||
{#if s.provisioning_id}<a href="/provisioning/{encodeURIComponent(s.provisioning_id)}">View provisioning</a>{/if}
|
||||
{#if s.players !== null && s.players > 0}
|
||||
<span class="players">{s.players} players at last check</span>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user