{#if error}
{translate('Failed to fetch fresh data', language)}
{/if} {#if mounted} {#if webservices.length}
{#each webservices as service} {@const name = service.name[language] || service.name.en}
{name}
{@html translate('Status last checked on: ', [ `${new Date(service.lastChecked).toLocaleString()}`, language ])}
{#if service.heartbeat[service.heartbeat.length - 1]?.down == true} DOWN {:else} UP {/if} openWebService(name, service.id)}> open
{/each}
{:else} No webservices {/if}
{:else}

Loading...

{/if}