{#if deployments.length > 0}

Deployment History

{#if deployments.some(deployment => deployment.status === DeploymentStatus.SUCCESS)} View Your Deployed App → {/if}
{#each deployments as deployment}
{formatDate(deployment.updatedAt, 'fullDate')} {formatDate(deployment.updatedAt, 'timeOnly')}
{#if deployment.status.toLowerCase() === 'pending'} {/if}
{deployment.status} {#if deployment.status === DeploymentStatus.FAILURE} showErrorReasonModal(deployment.err)} /> {/if}
{/each}
{/if} {errorReason}