{enterprise ? `${enterprise.name} - Enterprise Details` : 'Enterprise Details'} - GARM
{#if loading}

Loading enterprise...

{:else if error}

{error}

{:else if enterprise} showUpdateModal = true} onDelete={() => showDeleteModal = true} /> {/if}
{#if showUpdateModal && enterprise} showUpdateModal = false} on:submit={(e) => handleUpdate(e.detail)} /> {/if} {#if showDeleteModal && enterprise} showDeleteModal = false} on:confirm={handleDelete} /> {/if} {#if showDeleteInstanceModal && selectedInstance} { showDeleteInstanceModal = false; selectedInstance = null; }} on:confirm={handleDeleteInstance} /> {/if} {#if showCreatePoolModal && enterprise} showCreatePoolModal = false} on:submit={handleCreatePool} /> {/if}